diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/ctype_is_char.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/ctype_is_char.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/ctype_is_char.cc b/libstdc++-v3/testsuite/22_locale/ctype_is_char.cc index 5955cf3ed0e..1b97b4aac2f 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype_is_char.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype_is_char.cc @@ -252,14 +252,14 @@ void test05() { bool test = true; - const char* tentLANG = setlocale(LC_ALL, "ja_JP.eucjp"); + const char* tentLANG = std::setlocale(LC_ALL, "ja_JP.eucjp"); if (tentLANG != NULL) { std::string preLANG = tentLANG; test01(); test02(); test03(); - std::string postLANG = setlocale(LC_ALL, NULL); + std::string postLANG = std::setlocale(LC_ALL, NULL); VERIFY( preLANG == postLANG ); } } |