summaryrefslogtreecommitdiffstats
path: root/luni/src
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-09 01:38:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-09 01:38:05 +0000
commit4f1bfee1a72d7842aa5ce565463ab20466368213 (patch)
tree8f5f744e274bebc2e81c7c5767245e6c08dc7430 /luni/src
parent80e731591eda358739d43ffaa2d22635e1ab9fdb (diff)
parent1ff70d59a9ac0cafce11c9b1e6e98785dabc8979 (diff)
downloadlibcore-4f1bfee1a72d7842aa5ce565463ab20466368213.zip
libcore-4f1bfee1a72d7842aa5ce565463ab20466368213.tar.gz
libcore-4f1bfee1a72d7842aa5ce565463ab20466368213.tar.bz2
Merge "Add missing 'const'."
Diffstat (limited to 'luni/src')
-rw-r--r--luni/src/main/native/libcore_icu_ICU.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/main/native/libcore_icu_ICU.cpp b/luni/src/main/native/libcore_icu_ICU.cpp
index f1e0b9d..cc51722 100644
--- a/luni/src/main/native/libcore_icu_ICU.cpp
+++ b/luni/src/main/native/libcore_icu_ICU.cpp
@@ -525,7 +525,7 @@ static bool getDateTimePatterns(JNIEnv* env, jobject localeData, const char* loc
return true;
}
-static bool getYesterdayTodayAndTomorrow(JNIEnv* env, jobject localeData, Locale& locale, const char* locale_name) {
+static bool getYesterdayTodayAndTomorrow(JNIEnv* env, jobject localeData, const Locale& locale, const char* locale_name) {
UErrorCode status = U_ZERO_ERROR;
ScopedResourceBundle root(ures_open(NULL, locale_name, &status));
ScopedResourceBundle fields(ures_getByKey(root.get(), "fields", NULL, &status));