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/gl_video_view.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 675b324fc..d8ee65da6 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -28,7 +28,6 @@ DCPOMATIC_DISABLE_WARNINGS DCPOMATIC_ENABLE_WARNINGS #include <dcp/util.h> #include <boost/atomic.hpp> -#include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/thread/condition.hpp> #undef None @@ -55,7 +54,7 @@ public: } private: - void set_image (boost::shared_ptr<const Image> image); + void set_image (std::shared_ptr<const Image> image); void set_image_and_draw (); void draw (Position<int> inter_position, dcp::Size inter_size); void thread (); @@ -81,5 +80,5 @@ private: boost::atomic<bool> _playing; boost::atomic<bool> _one_shot; - boost::shared_ptr<wxTimer> _timer; + std::shared_ptr<wxTimer> _timer; }; |
