diff options
Diffstat (limited to 'plugins/PluginUpdater/src/stdafx.h')
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index e3a4f0a354..6a3c73c00a 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -172,10 +172,9 @@ extern IconItemT iconList[]; void UninitCheck(void);
void UninitListNew(void);
-class AutoHandle
+class AutoHandle : private MNonCopyable
{
HANDLE &m_handle;
- AutoHandle& operator=(const AutoHandle&) { return *this; }
public:
AutoHandle(HANDLE &_handle) : m_handle(_handle) {}
|