From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- protocols/IRCG/src/irc_dlg.h | 2 +- protocols/IRCG/src/stdafx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/irc_dlg.h b/protocols/IRCG/src/irc_dlg.h index b491278c39..75a4d341e5 100644 --- a/protocols/IRCG/src/irc_dlg.h +++ b/protocols/IRCG/src/irc_dlg.h @@ -172,7 +172,7 @@ struct CManagerDlg : public CCoolIrcDlg struct CQuestionDlg : public CCoolIrcDlg { - CQuestionDlg(CIrcProto* _pro, CManagerDlg* owner = NULL); + CQuestionDlg(CIrcProto* _pro, CManagerDlg* owner = nullptr); virtual void OnInitDialog(); virtual void OnClose(); diff --git a/protocols/IRCG/src/stdafx.h b/protocols/IRCG/src/stdafx.h index 14da73d80a..16f753c395 100644 --- a/protocols/IRCG/src/stdafx.h +++ b/protocols/IRCG/src/stdafx.h @@ -495,7 +495,7 @@ struct CIrcProto : public PROTO int NLReceive(unsigned char* buf, int cbBuf); void InsertIncomingEvent(wchar_t* pszRaw); - __inline bool IsConnected() const { return con != NULL; } + __inline bool IsConnected() const { return con != nullptr; } // send-to-stream operators int getCodepage() const; -- cgit v1.2.3