summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/locbased.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/locbased.cpp')
-rw-r--r--thirdparty/icu4c/common/locbased.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/locbased.cpp b/thirdparty/icu4c/common/locbased.cpp
index ff378b4cc7..adcf2f843c 100644
--- a/thirdparty/icu4c/common/locbased.cpp
+++ b/thirdparty/icu4c/common/locbased.cpp
@@ -22,7 +22,7 @@ Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const
const char* LocaleBased::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const {
if (U_FAILURE(status)) {
- return NULL;
+ return nullptr;
}
switch(type) {
@@ -32,7 +32,7 @@ const char* LocaleBased::getLocaleID(ULocDataLocaleType type, UErrorCode& status
return actual;
default:
status = U_ILLEGAL_ARGUMENT_ERROR;
- return NULL;
+ return nullptr;
}
}