diff options
author | Zeex <zeex@rocketmail.com> | 2013-01-15 05:21:14 +0700 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2013-01-15 05:21:14 +0700 |
commit | 94319e51b518b39aa0b66ad399a8755b7c09409b (patch) | |
tree | 746d2991b2d2997d73fab5c9f9e20e8cc9f6df39 /subhook.h | |
parent | 4599d630a8836e9ba1a434660d20111f40b70778 (diff) | |
download | subhook-94319e51b518b39aa0b66ad399a8755b7c09409b.zip subhook-94319e51b518b39aa0b66ad399a8755b7c09409b.tar.gz subhook-94319e51b518b39aa0b66ad399a8755b7c09409b.tar.bz2 |
Disable copying and assignment of ScopedInstall/ScopedRemove
Diffstat (limited to 'subhook.h')
-rw-r--r-- | subhook.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -189,6 +189,10 @@ public: } private: + ScopedRemove(const ScopedRemove &); + void operator=(const ScopedRemove &); + + private: SubHook *hook_; bool removed_; }; @@ -208,6 +212,10 @@ public: } private: + ScopedInstall(const ScopedInstall &); + void operator=(const ScopedInstall &); + + private: SubHook *hook_; bool installed_; }; |