Fix build with older boost.
[dcpomatic.git] / src / wx / move_to_dialog.h
index 4d8d991f51ed209680d47217633c33af7b186e87..16267bc9babb3cbaf4831e195f88a849791f5cac 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "table_dialog.h"
 #include "lib/dcpomatic_time.h"
-#include <boost/weak_ptr.hpp>
 #include <boost/optional.hpp>
 
+
 class Film;
 class wxSpinCtrl;
 
+
 class MoveToDialog : public TableDialog
 {
 public:
-       MoveToDialog (wxWindow* parent, boost::optional<DCPTime> position, boost::shared_ptr<const Film> film);
+       MoveToDialog (wxWindow* parent, boost::optional<dcpomatic::DCPTime> position, std::shared_ptr<const Film> film);
 
-       DCPTime position () const;
+       dcpomatic::DCPTime position () const;
 
 private:
-       boost::weak_ptr<const Film> _film;
+       std::weak_ptr<const Film> _film;
        wxSpinCtrl* _reel;
 };