Build fixes for Boost >= 1.73
[dcpomatic.git] / src / wx / text_view.cc
index 9b591b19161406408c88bef739a4c4323a1f91d0..66c1446285e5f8cf6cd60859cb737552971d9ba9 100644 (file)
@@ -35,6 +35,10 @@ using boost::shared_ptr;
 using boost::weak_ptr;
 using boost::bind;
 using boost::dynamic_pointer_cast;
+using namespace dcpomatic;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 TextView::TextView (
        wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content, shared_ptr<TextContent> text, shared_ptr<Decoder> decoder, weak_ptr<FilmViewer> viewer