Update of /cvsroot/cppunit/cppunit2/src/opentest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/src/opentest
Modified Files:
serializer.cpp
Log Message:
- removed infinite recursion in Serializer if there was no int64.
Index: serializer.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/opentest/serializer.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** serializer.cpp 8 Nov 2005 20:25:49 -0000 1.11
--- serializer.cpp 9 Nov 2005 22:59:09 -0000 1.12
***************
*** 344,347 ****
--- 344,348 ----
}
+ #ifndef CPPTL_NO_INT64
Stream &
Stream::operator <<( int value )
***************
*** 357,365 ****
return *this;
}
-
- #ifndef CPPTL_NO_INT64
Stream &
! Stream::operator <<( CppTL::int64_t value )
{
if ( value >= 0 )
--- 358,365 ----
return *this;
}
+ #endif
Stream &
! Stream::operator <<( LargestInt value )
{
if ( value >= 0 )
***************
*** 371,380 ****
Stream &
! Stream::operator <<( CppTL::uint64_t value )
{
doSerializeInteger( ccPositiveInteger, value );
return *this;
}
- #endif
void
--- 371,379 ----
Stream &
! Stream::operator <<( LargestUnsignedInt value )
{
doSerializeInteger( ccPositiveInteger, value );
return *this;
}
void
|