mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-5161 Never use C++ static initialization.
X-SVN-Rev: 19916
This commit is contained in:
parent
df74498d1a
commit
d9d4065306
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@ const char* _LOCALE_ALIAS[][2] = {
|
|||
};
|
||||
|
||||
const int _LOCALE_NUMBER = 12;
|
||||
const Locale DEFAULT_LOCALE = Locale::getUS();
|
||||
|
||||
void LocaleAliasTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ){
|
||||
switch (index) {
|
||||
|
@ -176,7 +175,7 @@ LocaleAliasTest::LocaleAliasTest(){
|
|||
resIndex=NULL;
|
||||
}
|
||||
defLocale = Locale::getDefault();
|
||||
Locale::setDefault(DEFAULT_LOCALE, status);
|
||||
Locale::setDefault(Locale::getUS(), status);
|
||||
}
|
||||
LocaleAliasTest::~LocaleAliasTest(){
|
||||
/* reset the default locale */
|
||||
|
|
Loading…
Add table
Reference in a new issue