X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_content_view.h;h=fcc0680647734c7dc80ca906b42e2eb0ef324266;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hp=2573e3cb311b970cc181c1a76825b04beaa955bc;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;p=dcpomatic.git 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 c); + TimelineContentView (Timeline& tl, std::shared_ptr c); dcpomatic::Rect bbox () const; void set_selected (bool s); bool selected () const; - boost::shared_ptr content () const; + std::shared_ptr content () const; void set_track (int t); void unset_track (); boost::optional track () const; @@ -55,7 +55,7 @@ public: protected: - boost::weak_ptr _content; + std::weak_ptr _content; private: @@ -69,6 +69,6 @@ private: boost::signals2::scoped_connection _content_connection; }; -typedef std::vector > TimelineContentViewList; +typedef std::vector > TimelineContentViewList; #endif