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/film_editor.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/film_editor.h')
| -rw-r--r-- | src/wx/film_editor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index 0382ef9d4..a5232d2e5 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -41,9 +41,9 @@ class FilmViewer; class FilmEditor : public wxPanel { public: - FilmEditor (wxWindow *, boost::weak_ptr<FilmViewer> viewer); + FilmEditor (wxWindow *, std::weak_ptr<FilmViewer> viewer); - void set_film (boost::shared_ptr<Film>); + void set_film (std::shared_ptr<Film>); void first_shown (); boost::signals2::signal<void (boost::filesystem::path)> FileChanged; @@ -55,7 +55,7 @@ public: return _content_panel; } - boost::shared_ptr<Film> film () const { + std::shared_ptr<Film> film () const { return _film; } @@ -73,5 +73,5 @@ private: DCPPanel* _dcp_panel; /** The film we are editing */ - boost::shared_ptr<Film> _film; + std::shared_ptr<Film> _film; }; |
