From 94319e51b518b39aa0b66ad399a8755b7c09409b Mon Sep 17 00:00:00 2001 From: Zeex Date: Tue, 15 Jan 2013 05:21:14 +0700 Subject: Disable copying and assignment of ScopedInstall/ScopedRemove --- subhook.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'subhook.h') diff --git a/subhook.h b/subhook.h index 0777930..483ea9e 100644 --- a/subhook.h +++ b/subhook.h @@ -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_; }; -- cgit v1.1