summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-03 09:54:18 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-03 09:54:18 +0200
commit5cbecec37e691976b8855a923a7115e7a974dd3b (patch)
tree589e621c240cb6781fd468323d4cc5400c983e4b
parent8a35abc14d53a1e9a0dcaf78d793e0cca8bfeb73 (diff)
Clarify copying of InfoFileHandle.
-rw-r--r--src/lib/film.h5
1 files changed, 5 insertions, 0 deletions
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;
}