diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-09 22:24:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-09 22:29:40 +0100 |
| commit | 723f062e76370a142144a86df8c75fc2176c744e (patch) | |
| tree | 519cefaabd684e594fe6ec26d3864a971f71497d /src/lib/dcp_video.h | |
| parent | b603730979665f49af1ca72917c81df79dea6160 (diff) | |
It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.
Diffstat (limited to 'src/lib/dcp_video.h')
| -rw-r--r-- | src/lib/dcp_video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_video.h b/src/lib/dcp_video.h index 862b787d2..3bd516ccd 100644 --- a/src/lib/dcp_video.h +++ b/src/lib/dcp_video.h @@ -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; |
