summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/locdistance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/locdistance.cpp')
-rw-r--r--thirdparty/icu4c/common/locdistance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/locdistance.cpp b/thirdparty/icu4c/common/locdistance.cpp
index ff8892791b..fb22fe79ed 100644
--- a/thirdparty/icu4c/common/locdistance.cpp
+++ b/thirdparty/icu4c/common/locdistance.cpp
@@ -45,13 +45,13 @@ enum {
};
LocaleDistance *gLocaleDistance = nullptr;
-UInitOnce gInitOnce = U_INITONCE_INITIALIZER;
+UInitOnce gInitOnce {};
UBool U_CALLCONV cleanup() {
delete gLocaleDistance;
gLocaleDistance = nullptr;
gInitOnce.reset();
- return TRUE;
+ return true;
}
} // namespace