Date: Thursday, December 15, 2005 @ 17:46:41
Author: gilles
Path: /cvsroot/carob/carob/test
Modified: CarobTestLauncher.cpp (1.10 -> 1.11)
Replaced C-style setLocale with C++-style one
-----------------------+
CarobTestLauncher.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: carob/test/CarobTestLauncher.cpp
diff -u carob/test/CarobTestLauncher.cpp:1.10
carob/test/CarobTestLauncher.cpp:1.11
--- carob/test/CarobTestLauncher.cpp:1.10 Thu Dec 15 12:29:56 2005
+++ carob/test/CarobTestLauncher.cpp Thu Dec 15 17:46:41 2005
@@ -42,7 +42,8 @@
int main (int argc, char **argv)
{
setLogLevel(LOG_LEVEL_INFO);
- setlocale(LC_ALL, "");
+ //setLogLevel(LOG_LEVEL_NONE);
+ std::locale::global(std::locale(""));
std::set_unexpected(UnexpectedException::convertUnexpected);
CppUnit::TextUi::TestRunner runner;
// For QT ui, replace the above line by this:
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits