From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- protocols/MRA/src/MraAdvancedSearch.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MRA/src/MraAdvancedSearch.cpp') diff --git a/protocols/MRA/src/MraAdvancedSearch.cpp b/protocols/MRA/src/MraAdvancedSearch.cpp index cfcda90d31..bb365c8c67 100644 --- a/protocols/MRA/src/MraAdvancedSearch.cpp +++ b/protocols/MRA/src/MraAdvancedSearch.cpp @@ -14,7 +14,7 @@ static const FieldNames GenderField[] = { { 1, LPGENW("Male") }, { 2, LPGENW("Female") }, - { 0, NULL } + { 0, nullptr } }; static const FieldNames MonthField[] = @@ -31,7 +31,7 @@ static const FieldNames MonthField[] = { 10, LPGENW("October") }, { 11, LPGENW("November") }, { 12, LPGENW("December") }, - { 0, NULL } + { 0, nullptr } }; static const FieldNames ZodiakField[] = @@ -48,7 +48,7 @@ static const FieldNames ZodiakField[] = { 10, LPGENW("Capricorn") }, { 11, LPGENW("Aquarius") }, { 12, LPGENW("Pisces") }, - { 0, NULL } + { 0, nullptr } }; void ResetComboBox(HWND hWndCombo) @@ -309,5 +309,5 @@ HWND CMraProto::CreateExtendedSearchUI(HWND owner) if (g_hInstance && owner) return CreateDialogParam(g_hInstance, MAKEINTRESOURCE(IDD_MRAADVANCEDSEARCH), owner, AdvancedSearchDlgProc, (LPARAM)this); - return NULL; + return nullptr; } -- cgit v1.2.3