Date: Thursday, January 11, 2007 @ 12:48:55
Author: marc
Path: /cvsroot/carob/carob/src
Modified: CarobException.cpp (1.28 -> 1.29)
inject wide literals into wostream, looks more portable...
--------------------+
CarobException.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: carob/src/CarobException.cpp
diff -u carob/src/CarobException.cpp:1.28 carob/src/CarobException.cpp:1.29
--- carob/src/CarobException.cpp:1.28 Thu Jan 11 12:34:45 2007
+++ carob/src/CarobException.cpp Thu Jan 11 12:48:55 2007
@@ -209,15 +209,15 @@
CarobNS::operator<<(std::wostream& woss, const CarobNS::CarobException& ce)
{
woss << ce.description();
- woss << "; SQL state: " << ce.getSQLState() << std::endl;
+ woss << L"; SQL state: " << ce.getSQLState() << std::endl;
woss << ce.getBackTrace();
- woss << " -- remote stack -- " << std::endl;
+ woss << L" -- remote stack -- " << std::endl;
woss << ce.getStackTrace();
const CarobNS::CarobException* nextex_p = ce.getNext();
if (nextex_p != NULL) {
- woss << " --- chained CarobException --- ";
+ woss << L" --- chained CarobException --- ";
woss << *nextex_p;
}
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits