Fix some spelling mistakes (mostly in comments).
[dcpomatic.git] / src / wx / report_problem_dialog.h
index a13c6a671a6fd36fce8d47a778933fb54edb78e3..06a8c2ed03fc32cead2c5a5f8268f1fca70c21b8 100644 (file)
 
 */
 
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/dialog.h>
-#include <boost/shared_ptr.hpp>
+LIBDCP_ENABLE_WARNINGS
+#include <memory>
+
 
 class wxTextCtrl;
 class wxFlexGridSizer;
@@ -29,12 +34,12 @@ class Film;
 class ReportProblemDialog : public wxDialog
 {
 public:
-       ReportProblemDialog (wxWindow* parent, boost::shared_ptr<Film> film);
+       ReportProblemDialog (wxWindow* parent, std::shared_ptr<Film> film = std::shared_ptr<Film>());
 
        void report ();
 
 private:
-       boost::shared_ptr<Film> _film;
+       std::shared_ptr<Film> _film;
 
        wxSizer* _overall_sizer;
        wxFlexGridSizer* _table;