std::shared_ptr
[dcpomatic.git] / src / lib / playlist.cc
index b96b0fbe0edf48a809ba93f89c28e87de56a5b08..287f23fd4f929bb368cf691c225ac22f34f4248c 100644 (file)
@@ -34,7 +34,7 @@
 #include "compose.hpp"
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
-#include <boost/shared_ptr.hpp>
+#include <boost/bind/placeholders.hpp>
 #include <boost/foreach.hpp>
 #include <iostream>
 
@@ -48,10 +48,13 @@ using std::max;
 using std::string;
 using std::pair;
 using boost::optional;
-using boost::shared_ptr;
-using boost::weak_ptr;
-using boost::dynamic_pointer_cast;
+using std::shared_ptr;
+using std::weak_ptr;
+using std::dynamic_pointer_cast;
 using namespace dcpomatic;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 Playlist::Playlist ()
        : _sequence (true)