[Cppunit-cvs] cppunit2/include/opentest serializer.h,1.12,1.13
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2006-03-06 21:07:39
|
Update of /cvsroot/cppunit/cppunit2/include/opentest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10398/include/opentest Modified Files: serializer.h Log Message: * fixed compilation issue with msvc6 Index: serializer.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/opentest/serializer.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** serializer.h 6 Mar 2006 08:40:49 -0000 1.12 --- serializer.h 6 Mar 2006 21:07:30 -0000 1.13 *************** *** 287,297 **** } ! template<class SequenceType, class KeyType> ! Stream &unserializeSTLMap( Stream &stream, SequenceType &sequence, KeyType &key ) { unsigned int size; stream >> size; CPPTL_TYPENAME SequenceType::iterator itWhere = sequence.begin(); ! CPPTL_TYPENAME SequenceType::mapped_type value; typedef CPPTL_TYPENAME SequenceType::value_type ValueType; while ( size-- > 0 ) --- 287,300 ---- } ! template<class SequenceType, class KeyType, class MappedType> ! Stream &unserializeSTLMap( Stream &stream, ! SequenceType &sequence, ! KeyType &key, ! CppTL::Type<MappedType> ) { unsigned int size; stream >> size; CPPTL_TYPENAME SequenceType::iterator itWhere = sequence.begin(); ! MappedType value; typedef CPPTL_TYPENAME SequenceType::value_type ValueType; while ( size-- > 0 ) |