mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix copy ctor/assignment oper warnings of -Weffc++ (#270)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user