Use member initialization lists [-Weffc++] (#270)

This commit is contained in:
J-P Nurmi
2015-02-28 21:59:01 +01:00
parent a1165cfcca
commit 6a6bb648d1
26 changed files with 63 additions and 110 deletions
+1 -2
View File
@@ -625,8 +625,7 @@ void CClient::AuthUser() {
}
CClientAuth::CClientAuth(CClient* pClient, const CString& sUsername, const CString& sPassword)
: CAuthBase(sUsername, sPassword, pClient) {
m_pClient = pClient;
: CAuthBase(sUsername, sPassword, pClient), m_pClient(pClient) {
}
void CClientAuth::RefusedLogin(const CString& sReason) {