summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-08 18:32:14 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-09 10:18:46 +0200
commitc3cc50f2b55aece1ce2c502cb57d0418951b1ae4 (patch)
tree87c07378e2249ae0a56e5508ebb02ca392064141 /src
parent280568029622c5e99d4b90d55b0cebe12cb24e93 (diff)
Fix some missed includes of the old boost bind header.
Diffstat (limited to 'src')
-rw-r--r--src/wx/dcpomatic_choice.h2
-rw-r--r--src/wx/metadata_dialog.cc5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h
index 33d655ad5..e663c948d 100644
--- a/src/wx/dcpomatic_choice.h
+++ b/src/wx/dcpomatic_choice.h
@@ -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>
diff --git a/src/wx/metadata_dialog.cc b/src/wx/metadata_dialog.cc
index df92cef63..4cbe7b1a4 100644
--- a/src/wx/metadata_dialog.cc
+++ b/src/wx/metadata_dialog.cc
@@ -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)