Remove use of boost::noncopyable.
[dcpomatic.git] / src / lib / dcp_video.h
index 8efd680a2a1942036fadb6f19ef3895db26e21c8..0bb583c57488432e86b27fbf2411430660d6a147 100644 (file)
@@ -39,12 +39,15 @@ class PlayerVideo;
  *  Objects of this class are used for the queue that we keep
  *  of images that require encoding.
  */
-class DCPVideo : public boost::noncopyable
+class DCPVideo
 {
 public:
        DCPVideo (std::shared_ptr<const PlayerVideo>, int index, int dcp_fps, int bandwidth, Resolution r);
        DCPVideo (std::shared_ptr<const PlayerVideo>, cxml::ConstNodePtr);
 
+       DCPVideo (DCPVideo const&) = delete;
+       DCPVideo& operator= (DCPVideo const&) = delete;
+
        dcp::ArrayData encode_locally ();
        dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30);