Fix copy ctor/assignment oper warnings of -Weffc++ (#270)

This commit is contained in:
J-P Nurmi
2015-03-04 18:13:32 +01:00
parent e1ada6c643
commit 5aa8b0dcef
7 changed files with 26 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ public:
CWebAuth(CWebSock* pWebSock, const CString& sUsername, const CString& sPassword, bool bBasic);
virtual ~CWebAuth() {}
CWebAuth(const CWebAuth&) = delete;
CWebAuth& operator=(const CWebAuth&) = delete;
void SetWebSock(CWebSock* pWebSock) { m_pWebSock = pWebSock; }
void AcceptedLogin(CUser& User) override;
void RefusedLogin(const CString& sReason) override;