Revision: 1570
http://svn.sourceforge.net/complement/?rev=1570&view=rev
Author: complement
Date: 2007-05-24 00:09:05 -0700 (Thu, 24 May 2007)
Log Message:
-----------
fix return
Modified Paths:
--------------
trunk/complement/explore/test/virtual_time/vtime.cc
Modified: trunk/complement/explore/test/virtual_time/vtime.cc
===================================================================
--- trunk/complement/explore/test/virtual_time/vtime.cc 2007-05-23 15:26:04 UTC (rev 1569)
+++ trunk/complement/explore/test/virtual_time/vtime.cc 2007-05-24 07:09:05 UTC (rev 1570)
@@ -1,4 +1,4 @@
-// -*- C++ -*- Time-stamp: <07/05/17 23:30:42 ptr>
+// -*- C++ -*- Time-stamp: <07/05/24 10:24:22 ptr>
#include "vtime.h"
@@ -415,7 +415,7 @@
ostream& operator <<( ostream& o, const vt::vtime_proc_type& v )
{
- o << "(" << v.first << "," << v.second << ")\n";
+ return o << "(" << v.first << "," << v.second << ")\n";
}
ostream& operator <<( ostream& o, const vt::vtime_type& v )
@@ -424,7 +424,7 @@
for ( vt::vtime_type::const_iterator i = v.begin(); i != v.end(); ++i ) {
o << *i;
}
- o << "]\n";
+ return o << "]\n";
}
ostream& operator <<( ostream& o, const vt::vtime_group_type& v )
@@ -438,7 +438,7 @@
for ( vt::gvtime_type::const_iterator i = v.begin(); i != v.end(); ++i ) {
o << *i;
}
- o << "}\n";
+ return o << "}\n";
}
} // namespace std
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|