macOS / boost 1.74 build fixes.
authorCarl Hetherington <cth@carlh.net>
Tue, 20 Oct 2020 22:20:33 +0000 (00:20 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 20 Oct 2020 23:03:29 +0000 (01:03 +0200)
src/mono_picture_asset.cc
tools/dcpdiff.cc

index 47fc8f5588d72e26b2b191c0963191f8d34d7dbb..cb60be6dd2c57c334adfa7730b68243f1c63a5c8 100644 (file)
@@ -47,6 +47,9 @@ using std::list;
 using std::pair;
 using boost::shared_ptr;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 using namespace dcp;
 
 MonoPictureAsset::MonoPictureAsset (boost::filesystem::path file)
index 80d4b049bed4032ba88389540db4a690a685e607..3940c0d49ae1af852034133b3aab550492ea9af7 100644 (file)
@@ -50,6 +50,9 @@ using std::string;
 using boost::shared_ptr;
 using boost::optional;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 using namespace dcp;
 
 static bool verbose = false;