Fix boost bind placeholder warnings.
[libdcp.git] / tools / dcpverify.cc
index 1b9bab80d9c294948f41799ad056830f7a4eca3a..770dd78fa75c93bf9f37df5e2329f15dbf17ca56 100644 (file)
@@ -37,7 +37,7 @@
 #include "raw_convert.h"
 #include "verify.h"
 #include "version.h"
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/optional.hpp>
 #include <getopt.h>
@@ -52,6 +52,9 @@ using std::string;
 using std::vector;
 using boost::bind;
 using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 
 static void