diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/markers_dialog.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/markers_dialog.h')
| -rw-r--r-- | src/wx/markers_dialog.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/wx/markers_dialog.h b/src/wx/markers_dialog.h index e2c261873..a3f3532e5 100644 --- a/src/wx/markers_dialog.h +++ b/src/wx/markers_dialog.h @@ -18,13 +18,14 @@ */ + #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS -#include <boost/shared_ptr.hpp> -#include <boost/weak_ptr.hpp> #include <list> +#include <memory> + class Marker; class Film; @@ -33,9 +34,9 @@ class FilmViewer; class MarkersDialog : public wxDialog { public: - MarkersDialog (wxWindow* parent, boost::weak_ptr<Film> film, boost::weak_ptr<FilmViewer> viewer); + MarkersDialog (wxWindow* parent, std::weak_ptr<Film> film, std::weak_ptr<FilmViewer> viewer); private: - std::list<boost::shared_ptr<Marker> > _markers; - boost::weak_ptr<Film> _film; + std::list<std::shared_ptr<Marker> > _markers; + std::weak_ptr<Film> _film; }; |
