diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-16 22:20:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-16 22:20:39 +0100 |
| commit | bfc0b96db6cc6c2e94d93f9c4239adca14a6bb0c (patch) | |
| tree | 1038f16144cfe58995e31650925f066b67fda677 /src/lib/dcp_video_frame.h | |
| parent | e16c8ed02a0cb1f733a990d75a9de1bf50cf89bd (diff) | |
More noncopyable.
Diffstat (limited to 'src/lib/dcp_video_frame.h')
| -rw-r--r-- | src/lib/dcp_video_frame.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/dcp_video_frame.h b/src/lib/dcp_video_frame.h index 25a3e9926..9929b9a8a 100644 --- a/src/lib/dcp_video_frame.h +++ b/src/lib/dcp_video_frame.h @@ -36,7 +36,7 @@ class Subtitle; /** @class EncodedData * @brief Container for J2K-encoded data. */ -class EncodedData +class EncodedData : public boost::noncopyable { public: /** @param s Size of data, in bytes */ @@ -63,10 +63,6 @@ public: protected: uint8_t* _data; ///< data int _size; ///< data size in bytes - -private: - /* No copy construction */ - EncodedData (EncodedData const &); }; /** @class LocallyEncodedData @@ -102,7 +98,7 @@ public: * Objects of this class are used for the queue that we keep * of images that require encoding. */ -class DCPVideoFrame +class DCPVideoFrame : public boost::noncopyable { public: DCPVideoFrame (boost::shared_ptr<const Image>, int, int, int, boost::shared_ptr<Log>); |
