projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a35abc
)
Clarify copying of InfoFileHandle.
author
Carl Hetherington
<cth@carlh.net>
Tue, 3 Sep 2024 07:54:18 +0000
(09:54 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 3 Sep 2024 07:54:18 +0000
(09:54 +0200)
src/lib/film.h
patch
|
blob
|
history
diff --git
a/src/lib/film.h
b/src/lib/film.h
index 43a41ad45d5a43fbeaf92accdea2595e9155e6db..92e224ad117c68bd69b371a78685d26514fad645 100644
(file)
--- 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;
}