diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 15:32:06 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:46 +0100 |
commit | 1c0172cca4f1e90679321912e20436a7f42f122d (patch) | |
tree | 77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /protocols/IRCG/src | |
parent | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff) |
more nullptr
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r-- | protocols/IRCG/src/irc_dlg.h | 2 | ||||
-rw-r--r-- | protocols/IRCG/src/stdafx.h | 2 |
2 files changed, 2 insertions, 2 deletions
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<CIrcProto> 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;
|