Fix some missed includes of the old boost bind header.
authorCarl Hetherington <cth@carlh.net>
Tue, 8 Aug 2023 16:32:14 +0000 (18:32 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 9 Aug 2023 08:18:46 +0000 (10:18 +0200)
src/wx/dcpomatic_choice.h
src/wx/metadata_dialog.cc

index 33d655ad5467d6549922e81b873224060d6a0a65..e663c948dd96dd2a1fa656082a23ed2f2c4da3ef 100644 (file)
@@ -23,7 +23,7 @@
 LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
 LIBDCP_ENABLE_WARNINGS
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <boost/optional.hpp>
 
 
index df92cef6304a68936bccab203c49eb90808ee756..4cbe7b1a425dd142cc474034fb0f3ff46ce9901d 100644 (file)
@@ -37,13 +37,16 @@ LIBDCP_DISABLE_WARNINGS
 #include <wx/spinctrl.h>
 #include <wx/wx.h>
 LIBDCP_ENABLE_WARNINGS
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
 #include <boost/weak_ptr.hpp>
 
 
 using std::weak_ptr;
 using std::vector;
 using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 
 MetadataDialog::MetadataDialog (wxWindow* parent, weak_ptr<Film> weak_film)