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/timeline_dialog.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/timeline_dialog.h')
| -rw-r--r-- | src/wx/timeline_dialog.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index 77dfede50..97ddca964 100644 --- a/src/wx/timeline_dialog.h +++ b/src/wx/timeline_dialog.h @@ -18,8 +18,6 @@ */ -#include <boost/shared_ptr.hpp> -#include <boost/weak_ptr.hpp> #include <wx/wx.h> #include "timeline.h" @@ -28,7 +26,7 @@ class Playlist; class TimelineDialog : public wxDialog { public: - TimelineDialog (ContentPanel *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer); + TimelineDialog (ContentPanel *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer); void set_selection (ContentList selection); @@ -36,7 +34,7 @@ private: void film_change (ChangeType type, Film::Property); void tool_clicked (wxCommandEvent& id); - boost::weak_ptr<Film> _film; + std::weak_ptr<Film> _film; Timeline _timeline; wxToolBar* _toolbar; boost::signals2::scoped_connection _film_changed_connection; |
