Fix lots of macOS warnings by using a different boost/bind include.
[dcpomatic.git] / src / wx / hints_dialog.h
index 709587ac9dcd6ecb38d4ab0f45ef3da1599bb3a2..87dcf19535d977e7d8e8c89e824ccdb2f037707c 100644 (file)
 */
 
 #include "lib/types.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/weak_ptr.hpp>
 #include <boost/signals2.hpp>
 
@@ -46,7 +49,7 @@ private:
        wxGauge* _gauge;
        wxStaticText* _gauge_message;
        wxRichTextCtrl* _text;
-       boost::shared_ptr<Hints> _hints;
+       boost::scoped_ptr<Hints> _hints;
        std::list<std::string> _current;
        bool _finished;