std::shared_ptr
[dcpomatic.git] / src / wx / nag_dialog.cc
index abe460869b88e477ad2218729c9f9ce92999eb85..5b989bdb55d4aba2b7a995dbdfc4b110db8fcd92 100644 (file)
 #include "check_box.h"
 #include <boost/foreach.hpp>
 
-using boost::shared_ptr;
+using std::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 NagDialog::NagDialog (wxWindow* parent, Config::Nag nag, wxString message, bool can_cancel)
        : wxDialog (parent, wxID_ANY, _("Important notice"))