From 5cbecec37e691976b8855a923a7115e7a974dd3b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 Sep 2024 09:54:18 +0200 Subject: Clarify copying of InfoFileHandle. --- src/lib/film.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/film.h b/src/lib/film.h index 43a41ad45..92e224ad1 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -86,6 +86,11 @@ class InfoFileHandle public: InfoFileHandle (boost::mutex& mutex, boost::filesystem::path file, bool read); + InfoFileHandle(InfoFileHandle const&) = delete; + InfoFileHandle& operator=(InfoFileHandle const&) = delete; + InfoFileHandle(InfoFileHandle&&) = delete; + InfoFileHandle& operator=(InfoFileHandle&&) = delete; + dcp::File& get () { return _file; } -- cgit v1.2.3