diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc b/libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc index 3d82fc5e4e9..1eb505fb6bd 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc @@ -134,12 +134,12 @@ void test03() { 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(); - std::string postLANG = setlocale(LC_ALL, NULL); + std::string postLANG = std::setlocale(LC_ALL, NULL); VERIFY( preLANG == postLANG ); } } |