macOS / new boost build fixes.
[dcpomatic.git] / src / wx / controls.cc
index caa0dc823974a3882511b19b99dd278bd203bed9..86329efb39425f8f4ff40b88cf52751df7f5d4f5 100644 (file)
@@ -52,8 +52,12 @@ using boost::optional;
 using boost::shared_ptr;
 using boost::weak_ptr;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 using namespace dcpomatic;
 
+
 Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor_controls)
        : wxPanel (parent)
        , _slider (new wxSlider (this, wxID_ANY, 0, 0, 4096))