diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:03:31 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:07:33 +0100 |
commit | a7c24ca48995cf2bf436156302f96b91bf135409 (patch) | |
tree | 953835509ff1b778833e78fd7b74b05e05e77c84 /protocols/MRA/src/MraAdvancedSearch.cpp | |
parent | 591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff) |
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'protocols/MRA/src/MraAdvancedSearch.cpp')
-rw-r--r-- | protocols/MRA/src/MraAdvancedSearch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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;
}
|