mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Use member initialization lists [-Weffc++] (#270)
This commit is contained in:
+1
-2
@@ -29,8 +29,7 @@ using std::set;
|
||||
|
||||
class CIRCNetworkPingTimer : public CCron {
|
||||
public:
|
||||
CIRCNetworkPingTimer(CIRCNetwork *pNetwork) : CCron() {
|
||||
m_pNetwork = pNetwork;
|
||||
CIRCNetworkPingTimer(CIRCNetwork *pNetwork) : CCron(), m_pNetwork(pNetwork) {
|
||||
SetName("CIRCNetworkPingTimer::" + m_pNetwork->GetUser()->GetUserName() + "::" + m_pNetwork->GetName());
|
||||
Start(CIRCNetwork::PING_SLACK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user