Explicitly specify the icu:: namespace.
Bug: 15350832
Change-Id: I8d84f3e50b643806ccf01190797c69ce6445b539
diff --git a/include/ScopedIcuLocale.h b/include/ScopedIcuLocale.h
index 2109e03..64186e3 100644
--- a/include/ScopedIcuLocale.h
+++ b/include/ScopedIcuLocale.h
@@ -36,7 +36,7 @@
return;
}
- mLocale = Locale::createFromName(localeName.c_str());
+ mLocale = icu::Locale::createFromName(localeName.c_str());
}
~ScopedIcuLocale() {
@@ -46,13 +46,13 @@
return !mLocale.isBogus();
}
- Locale& locale() {
+ icu::Locale& locale() {
return mLocale;
}
private:
JNIEnv* const mEnv;
- Locale mLocale;
+ icu::Locale mLocale;
// Disallow copy and assignment.
ScopedIcuLocale(const ScopedIcuLocale&);