PBD::canonical_path will no longer throw so change test
[ardour.git] / libs / ardour / playlist_factory.cc
index 150ae6c3aca3de9956989042a347dbc7e6aea122..46f9910738d1c4562d52b7617cfb156804d0b731 100644 (file)
@@ -25,7 +25,7 @@
 #include "ardour/midi_playlist.h"
 #include "ardour/playlist_factory.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -36,7 +36,7 @@ PBD::Signal2<void,boost::shared_ptr<Playlist>, bool> PlaylistFactory::PlaylistCr
 boost::shared_ptr<Playlist>
 PlaylistFactory::create (Session& s, const XMLNode& node, bool hidden, bool unused)
 {
-       const XMLProperty* type = node.property("type");
+       XMLProperty const * type = node.property("type");
 
        boost::shared_ptr<Playlist> pl;