From dd1332522b8eba640eeaa4bb8b09d038e0f856b1 Mon Sep 17 00:00:00 2001 From: Daryle Walker Date: Mon, 5 Aug 2002 20:11:06 +0000 Subject: [PATCH] Fixed new locales to be based on std::locale::classic() [SVN r14700] --- test/ios_state_test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/ios_state_test.cpp b/test/ios_state_test.cpp index 4946ec4..4fdfeb0 100644 --- a/test/ios_state_test.cpp +++ b/test/ios_state_test.cpp @@ -151,7 +151,7 @@ saver_tests_1 boost::io::ios_iword_saver const iis( output, my_index ); boost::io::ios_pword_saver const ipws( output, my_index ); - locale loc( locale(""), new backward_bool_names("") ); + locale loc( locale::classic(), new backward_bool_names("") ); input.tie( &err ); output.rdbuf( err.rdbuf() ); @@ -223,9 +223,8 @@ saver_tests_2 output << test_num1 + test_num2; output.put( '\n' ); - locale loc( locale(""), + locale loc( locale::classic(), new backward_bool_names("") ); - boost::io::ios_locale_saver const ils( output, loc ); output << '\t' << test_bool << '\n';