summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/locutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/locutil.cpp')
-rw-r--r--thirdparty/icu4c/common/locutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/locutil.cpp b/thirdparty/icu4c/common/locutil.cpp
index 3d9d69ff7e..6e2bd497f8 100644
--- a/thirdparty/icu4c/common/locutil.cpp
+++ b/thirdparty/icu4c/common/locutil.cpp
@@ -21,7 +21,7 @@
#include "umutex.h"
// see LocaleUtility::getAvailableLocaleNames
-static icu::UInitOnce LocaleUtilityInitOnce = U_INITONCE_INITIALIZER;
+static icu::UInitOnce LocaleUtilityInitOnce {};
static icu::Hashtable * LocaleUtility_cache = NULL;
#define UNDERSCORE_CHAR ((UChar)0x005f)
@@ -41,7 +41,7 @@ static UBool U_CALLCONV service_cleanup(void) {
delete LocaleUtility_cache;
LocaleUtility_cache = NULL;
}
- return TRUE;
+ return true;
}