Use XMLNode::get/set_property API in ARDOUR::MidiModel class
[ardour.git] / libs / ardour / port.cc
index 7888167a70e8ea23c32a2d075ada1f92ffba85dc..33b41f5c046e40dd05a23a97ea1afd494a712378 100644 (file)
@@ -30,7 +30,7 @@
 #include "ardour/port.h"
 #include "ardour/port_engine.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -587,7 +587,7 @@ Port::get_state () const
 int
 Port::set_state (const XMLNode& node, int)
 {
-       const XMLProperty* prop;
+       XMLProperty const * prop;
 
        if (node.name() != state_node_name) {
                return -1;