diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
| commit | b249700e1da7dd6631a8b4440587f4093a2bdef1 (patch) | |
| tree | 71f88855e72b11f927d194f0676bac93845d26be /src/lib/video_ring_buffers.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/video_ring_buffers.h')
| -rw-r--r-- | src/lib/video_ring_buffers.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h index 444a49ea7..47fda01f7 100644 --- a/src/lib/video_ring_buffers.h +++ b/src/lib/video_ring_buffers.h @@ -22,7 +22,6 @@ #include "dcpomatic_time.h" #include "player_video.h" #include "types.h" -#include <boost/noncopyable.hpp> #include <boost/thread/mutex.hpp> #include <utility> @@ -31,9 +30,14 @@ class Film; class PlayerVideo; -class VideoRingBuffers : public boost::noncopyable +class VideoRingBuffers { public: + VideoRingBuffers () {} + + VideoRingBuffers (VideoRingBuffers const&) = delete; + VideoRingBuffers& operator= (VideoRingBuffers const&) = delete; + void put (std::shared_ptr<PlayerVideo> frame, dcpomatic::DCPTime time); std::pair<std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime> get (); |
