Fix boost bind placeholder warnings.
[libdcp.git] / test / rgb_xyz_test.cc
index 007879389bf0b7376967f5b69c52739825a98505..cf3eb9ffa35201034a721d295101465595a9f6af 100644 (file)
@@ -37,7 +37,7 @@
 #include "piecewise_lut.h"
 #include "rgb_xyz.h"
 #include "stream_operators.h"
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <boost/random.hpp>
 #include <boost/scoped_array.hpp>
 #include <boost/test/unit_test.hpp>
@@ -51,6 +51,9 @@ using std::shared_ptr;
 using std::string;
 using boost::optional;
 using boost::scoped_array;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 
 static