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 --- include/m_gui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/m_gui.h') diff --git a/include/m_gui.h b/include/m_gui.h index 45b6130122..0a1dfc2025 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -259,7 +259,7 @@ struct CCallbackImp }; public: - __inline CCallbackImp(): m_object(NULL), m_func(NULL) {} + __inline CCallbackImp(): m_object(nullptr), m_func(nullptr) {} __inline CCallbackImp(const CCallbackImp &other): m_object(other.m_object), m_func(other.m_func) {} __inline CCallbackImp &operator=(const CCallbackImp &other) { m_object = other.m_object; m_func = other.m_func; return *this; } @@ -362,7 +362,7 @@ public: __forceinline DWORD LoadInt() { return (DWORD)(T)*m_option; } __forceinline void SaveInt(DWORD value) { *m_option = (T)value; } - __forceinline wchar_t* LoadText() { return NULL; } + __forceinline wchar_t* LoadText() { return nullptr; } __forceinline void SaveText(wchar_t*) {} }; @@ -1453,7 +1453,7 @@ protected: virtual void OnProtoCheckOnline(WPARAM, LPARAM); private: - void UpdateProtoTitle(const wchar_t *szText = NULL); + void UpdateProtoTitle(const wchar_t *szText = nullptr); void UpdateStatusBar(); }; -- cgit v1.2.3