summaryrefslogtreecommitdiff
path: root/shared/IFileOperation/fileOp.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/IFileOperation/fileOp.cpp
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
Diffstat (limited to 'shared/IFileOperation/fileOp.cpp')
-rw-r--r--shared/IFileOperation/fileOp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/IFileOperation/fileOp.cpp b/shared/IFileOperation/fileOp.cpp
index 732fb9b5..761ec06d 100644
--- a/shared/IFileOperation/fileOp.cpp
+++ b/shared/IFileOperation/fileOp.cpp
@@ -14,7 +14,7 @@
#include <algorithm>
#include <string>
#include <cstdio>
-#include <comdef.h>
+#include <comdef.h>
void writeString(const std::wstring& input, wchar_t* output, size_t outputBufferLen)
@@ -57,6 +57,8 @@ public:
item_->Release();
}
private:
+ ReleaseAtExit(const ReleaseAtExit&);
+ ReleaseAtExit& operator=(const ReleaseAtExit&);
T*& item_;
};
bgstack15