summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/localeprioritylist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/localeprioritylist.cpp')
-rw-r--r--thirdparty/icu4c/common/localeprioritylist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/icu4c/common/localeprioritylist.cpp b/thirdparty/icu4c/common/localeprioritylist.cpp
index e5ba0a3c77..8ca70b1432 100644
--- a/thirdparty/icu4c/common/localeprioritylist.cpp
+++ b/thirdparty/icu4c/common/localeprioritylist.cpp
@@ -21,13 +21,13 @@ U_NAMESPACE_BEGIN
namespace {
int32_t hashLocale(const UHashTok token) {
- auto *locale = static_cast<const Locale *>(token.pointer);
+ const auto* locale = static_cast<const Locale*>(token.pointer);
return locale->hashCode();
}
UBool compareLocales(const UHashTok t1, const UHashTok t2) {
- auto *l1 = static_cast<const Locale *>(t1.pointer);
- auto *l2 = static_cast<const Locale *>(t2.pointer);
+ const auto* l1 = static_cast<const Locale*>(t1.pointer);
+ const auto* l2 = static_cast<const Locale*>(t2.pointer);
return *l1 == *l2;
}