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 --- plugins/HistoryStats/src/optionsctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryStats/src/optionsctrl.h') diff --git a/plugins/HistoryStats/src/optionsctrl.h b/plugins/HistoryStats/src/optionsctrl.h index 629249e99b..13889ed564 100644 --- a/plugins/HistoryStats/src/optionsctrl.h +++ b/plugins/HistoryStats/src/optionsctrl.h @@ -31,7 +31,7 @@ private: const OptionsCtrl& operator =(const OptionsCtrl& other); // no implementation public: - explicit OptionsCtrl(HWND hOptWnd = NULL) : m_hOptWnd(hOptWnd) { } + explicit OptionsCtrl(HWND hOptWnd = nullptr) : m_hOptWnd(hOptWnd) { } ~OptionsCtrl() { } public: @@ -78,7 +78,7 @@ public: void setScrollPos(int nBar, int nPos); bool isDateTimeNone(HANDLE hDateTime); void setDateTimeNone(HANDLE hDateTime); - DWORD getDateTime(HANDLE hDateTime, bool* pbNone = NULL); + DWORD getDateTime(HANDLE hDateTime, bool* pbNone = nullptr); void setDateTime(HANDLE hDateTime, DWORD dwDateTime); ext::string getDateTimeStr(HANDLE hDateTime); void setDateTimeStr(HANDLE hDateTime, const ext::string& strDateTime); -- cgit v1.2.3