Clarify copying of InfoFileHandle.
authorCarl Hetherington <cth@carlh.net>
Tue, 3 Sep 2024 07:54:18 +0000 (09:54 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 3 Sep 2024 07:54:18 +0000 (09:54 +0200)
src/lib/film.h

index 43a41ad45d5a43fbeaf92accdea2595e9155e6db..92e224ad117c68bd69b371a78685d26514fad645 100644 (file)
@@ -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;
        }