Date: Friday, November 25, 2005 @ 16:18:06
  Author: marc
    Path: /cvsroot/carob/carob/test

Modified: CarobProtector.hpp (1.1 -> 1.2)

Added missing #include <iostream> and std:: prefix


--------------------+
 CarobProtector.hpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: carob/test/CarobProtector.hpp
diff -u carob/test/CarobProtector.hpp:1.1 carob/test/CarobProtector.hpp:1.2
--- carob/test/CarobProtector.hpp:1.1   Fri Nov 25 16:11:45 2005
+++ carob/test/CarobProtector.hpp       Fri Nov 25 16:18:06 2005
@@ -19,6 +19,7 @@
  * Contributor(s): 
  */
 
+#include <iostream>
 
 #include "CarobException.hpp"
 #include <cppunit/Protector.h>
@@ -33,8 +34,8 @@
 {
   StackTrace st = cex.getStackTrace();
   for (StackTrace::iterator s = st.begin(); s != st.end(); s++)
-    wcerr << prefix << "            : "
-          << (*s)->declaringClass << ":" << (*s)->methodName << "(...)" << 
endl;;
+    std::wcerr << prefix << "            : "
+               << (*s)->declaringClass << ":" << (*s)->methodName << "(...)" 
<< std::endl;;
 }
 
 
@@ -43,7 +44,7 @@
 #ifdef GLIB_BACKTRACE
   BackTrace stvect = cex.getBackTrace();
   for (BackTrace::iterator btframe = stvect.begin(); btframe != stvect.end(); 
btframe++) {
-    wcerr << BEPREFIX; cerr << *btframe << endl;
+    std::wcerr << BEPREFIX; std::cerr << *btframe << std::endl;
   }
 #endif
 }

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to