diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-14 00:02:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-05 21:46:30 +0200 |
| commit | 00e10ea721796f660b3479eb6f862125c255dc88 (patch) | |
| tree | 3ac7b8990abd31e90c2b4f7a198b83aed4f91fd6 /src/file.h | |
| parent | 915991a1accee95cfe6341a286c6ecedf4f0012b (diff) | |
Add move constructor.
Diffstat (limited to 'src/file.h')
| -rw-r--r-- | src/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -52,6 +52,10 @@ public: * @param mode mode flags, as for fopen(3) */ File(boost::filesystem::path, std::string mode); + + File(File&& other); + File& operator=(File&& other); + ~File(); File(File const&) = delete; |
