C++11 tidying.
[dcpomatic.git] / src / wx / job_view_dialog.h
index 54a6c1636d0c6951e9fcf4b03f1e75f6216b6ef0..66a3ea6c658fe302bdaf4518ae207812b83251f1 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "table_dialog.h"
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+#include <memory>
+
 
 class JobView;
 class Job;
 
+
 class JobViewDialog : public TableDialog
 {
 public:
-       JobViewDialog (wxWindow* parent, wxString title, boost::shared_ptr<Job> job);
+       JobViewDialog (wxWindow* parent, wxString title, std::shared_ptr<Job> job);
        ~JobViewDialog ();
 
 private:
        void periodic ();
 
-       JobView* _view;
-       boost::weak_ptr<Job> _job;
-       boost::shared_ptr<wxTimer> _timer;
+       JobView* _view = nullptr;
+       std::weak_ptr<Job> _job;
+       std::shared_ptr<wxTimer> _timer;
 };