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_content_view.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/timeline_content_view.h')
| -rw-r--r-- | src/wx/timeline_content_view.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/timeline_content_view.h b/src/wx/timeline_content_view.h index 2573e3cb3..fcc068064 100644 --- a/src/wx/timeline_content_view.h +++ b/src/wx/timeline_content_view.h @@ -37,13 +37,13 @@ class Content; class TimelineContentView : public TimelineView { public: - TimelineContentView (Timeline& tl, boost::shared_ptr<Content> c); + TimelineContentView (Timeline& tl, std::shared_ptr<Content> c); dcpomatic::Rect<int> bbox () const; void set_selected (bool s); bool selected () const; - boost::shared_ptr<Content> content () const; + std::shared_ptr<Content> content () const; void set_track (int t); void unset_track (); boost::optional<int> track () const; @@ -55,7 +55,7 @@ public: protected: - boost::weak_ptr<Content> _content; + std::weak_ptr<Content> _content; private: @@ -69,6 +69,6 @@ private: boost::signals2::scoped_connection _content_connection; }; -typedef std::vector<boost::shared_ptr<TimelineContentView> > TimelineContentViewList; +typedef std::vector<std::shared_ptr<TimelineContentView> > TimelineContentViewList; #endif |
