diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc b/libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc index fa576be970a..347f41f526e 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put_members_wchar_t.cc @@ -257,13 +257,13 @@ void test04() { 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(); - std::string postLANG = setlocale(LC_ALL, NULL); + std::string postLANG = std::setlocale(LC_ALL, NULL); VERIFY( preLANG == postLANG ); } } |