summaryrefslogtreecommitdiff
path: root/zen/notify_removal.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
commit94db751716dd2851f99b5c4c2981da1d1f4780f8 (patch)
treee4ffc9f5ae2b2873f267a6e5d3d2092c8aad49a7 /zen/notify_removal.h
parent6.10 (diff)
downloadFreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.gz
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.bz2
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.zip
6.11
Diffstat (limited to 'zen/notify_removal.h')
-rw-r--r--zen/notify_removal.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/zen/notify_removal.h b/zen/notify_removal.h
index aca0912f..ba560f96 100644
--- a/zen/notify_removal.h
+++ b/zen/notify_removal.h
@@ -4,8 +4,8 @@
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
// **************************************************************************
-#ifndef NOTIFY_H_INCLUDED
-#define NOTIFY_H_INCLUDED
+#ifndef NOTIFY_H_INCLUDED_257804267562
+#define NOTIFY_H_INCLUDED_257804267562
#include <memory>
#include "win.h" //includes "windows.h"
@@ -24,12 +24,11 @@ private:
//NOTE: onRemovalFinished is NOT guaranteed to execute after onRequestRemoval()! but most likely will
virtual void onRemovalFinished(HANDLE hnd, bool successful) = 0; //throw()!
- NotifyRequestDeviceRemoval(NotifyRequestDeviceRemoval&); //no copying
- void operator=(NotifyRequestDeviceRemoval&); //
+ NotifyRequestDeviceRemoval (NotifyRequestDeviceRemoval&) = delete;
+ NotifyRequestDeviceRemoval& operator=(NotifyRequestDeviceRemoval&) = delete;
class Pimpl;
std::unique_ptr<Pimpl> pimpl;
};
-
-#endif // NOTIFY_H_INCLUDED
+#endif //NOTIFY_H_INCLUDED_257804267562
bgstack15