Update of /cvsroot/cppunit/cppunit2/src/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4444/src/cpput
Modified Files:
properties.cpp
Log Message:
* added config macro CPPTL_NO_SSTREAM and CPPTL_NO_STL_SEQUENCE_AT for gcc 2.95
* added portability macro CPPTL_AT to access sequence container portably
Index: properties.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/cpput/properties.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** properties.cpp 4 Mar 2005 22:16:59 -0000 1.8
--- properties.cpp 5 Mar 2005 12:21:08 -0000 1.9
***************
*** 861,865 ****
Properties::at( unsigned int index ) const
{
! return indexedProperties_.at( index );
}
--- 861,865 ----
Properties::at( unsigned int index ) const
{
! return CPPTL_AT( indexedProperties_, index );
}
***************
*** 884,888 ****
const Value &defaultValue ) const
{
! return index < indexedProperties_.size() ? indexedProperties_.at( index )
: defaultValue;
}
--- 884,888 ----
const Value &defaultValue ) const
{
! return index < indexedProperties_.size() ? CPPTL_AT(indexedProperties_, index )
: defaultValue;
}
***************
*** 892,896 ****
Properties::operator[]( unsigned int index ) const
{
! return indexedProperties_.at( index );
}
--- 892,896 ----
Properties::operator[]( unsigned int index ) const
{
! return CPPTL_AT( indexedProperties_, index );
}
***************
*** 906,910 ****
Properties::operator[]( unsigned int index )
{
! return indexedProperties_.at( index );
}
--- 906,910 ----
Properties::operator[]( unsigned int index )
{
! return CPPTL_AT( indexedProperties_, index );
}
|