Build fixes for Boost >= 1.73
[dcpomatic.git] / src / wx / content_sub_panel.cc
index aee0d6595ae3e8a3ca8743c450545151d94728b6..0f32b8b61d39876f87c906f16f02aad2946350e4 100644 (file)
@@ -30,6 +30,9 @@
 using std::list;
 using std::string;
 using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
        : wxScrolledWindow (p->notebook(), wxID_ANY)
@@ -46,7 +49,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
        _config_connection = Config::instance()->Changed.connect (boost::bind (&ContentSubPanel::config_changed, this, _1));
 }
 
-
 void
 ContentSubPanel::config_changed (Config::Property p)
 {