diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-03 09:54:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 09:54:18 +0200 |
| commit | 5cbecec37e691976b8855a923a7115e7a974dd3b (patch) | |
| tree | 589e621c240cb6781fd468323d4cc5400c983e4b | |
| parent | 8a35abc14d53a1e9a0dcaf78d793e0cca8bfeb73 (diff) | |
Clarify copying of InfoFileHandle.
| -rw-r--r-- | src/lib/film.h | 5 |
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; } |
