From 3e05d92dcb5f6c2017bc462554901ba27816bdb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 17 Apr 2018 15:56:52 +0300 Subject: MNonCopyable - the common class to avoid declaring fake private constructors --- plugins/ClientChangeNotify/src/Options.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/ClientChangeNotify/src/Options.h') diff --git a/plugins/ClientChangeNotify/src/Options.h b/plugins/ClientChangeNotify/src/Options.h index aac3e9d1c0..35f62f817c 100644 --- a/plugins/ClientChangeNotify/src/Options.h +++ b/plugins/ClientChangeNotify/src/Options.h @@ -61,7 +61,6 @@ public: int GetParam() { return lParam; } int GetID() { return m_dlgItemID; } - // virtual COptItem& operator = (const COptItem& Item) {return *this;}; virtual COptItem* Copy() { _ASSERT(0); return NULL; } // Attention! Free Copy() result when it's not needed anymore! CString sDBSetting; @@ -107,7 +106,6 @@ public: virtual INT_PTR GetValue() { return (INT_PTR)&sValue; } virtual INT_PTR GetDefValue() { return (INT_PTR)&sDefValue; } - // COptItem_Edit& operator = (const COptItem_Edit& Item) {return *this;}; virtual COptItem* Copy() { return new COptItem_Edit(*this); } TCString sDefValue; @@ -524,7 +522,7 @@ public: bool GetModified(); void SetModified(bool m_bModified); - COptPage& operator = (const COptPage& Page); + COptPage& operator=(const COptPage& Page); HWND hWnd; CString sModule, sDBSettingPrefix; -- cgit v1.2.3