It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.
[dcpomatic.git] / src / lib / dcp_video.h
index 862b787d2f1db7b87c264aa8da9346acc8580f5d..3bd516ccd4ea676567e80ac70880d39b382568c6 100644 (file)
@@ -45,8 +45,8 @@ 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;
+       DCPVideo (DCPVideo const&) = default;
+       DCPVideo& operator= (DCPVideo const&) = default;
 
        dcp::ArrayData encode_locally () const;
        dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30) const;