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/dcp_panel.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/dcp_panel.h')
| -rw-r--r-- | src/wx/dcp_panel.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wx/dcp_panel.h b/src/wx/dcp_panel.h index 465104c74..cce97a2dc 100644 --- a/src/wx/dcp_panel.h +++ b/src/wx/dcp_panel.h @@ -19,7 +19,6 @@ */ #include "lib/config.h" -#include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> class wxNotebook; @@ -45,9 +44,9 @@ class Ratio; class DCPPanel : public boost::noncopyable { public: - DCPPanel (wxNotebook *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer); + DCPPanel (wxNotebook *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer); - void set_film (boost::shared_ptr<Film>); + void set_film (std::shared_ptr<Film>); void set_general_sensitivity (bool); void film_changed (int); @@ -152,7 +151,7 @@ private: InteropMetadataDialog* _interop_metadata_dialog; SMPTEMetadataDialog* _smpte_metadata_dialog; - boost::shared_ptr<Film> _film; - boost::weak_ptr<FilmViewer> _viewer; + std::shared_ptr<Film> _film; + std::weak_ptr<FilmViewer> _viewer; bool _generally_sensitive; }; |
