mirror of
https://github.com/znc/znc.git
synced 2026-05-02 03:22:33 +02:00
Merge pull request #906 from jpnurmi/weffc++
Use member initialization lists [-Weffc++] (#270)
This commit is contained in:
@@ -30,8 +30,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