Update of /cvsroot/cppunit/cppunit2/include/cpptl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31861/include/cpptl
Modified Files:
enumerator.h
Log Message:
* added missing template partial specialization guard
* fixed return on void function
Index: enumerator.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/enumerator.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** enumerator.h 15 Nov 2004 08:18:55 -0000 1.3
--- enumerator.h 15 Nov 2004 08:21:04 -0000 1.4
***************
*** 22,25 ****
--- 22,26 ----
};
+ # ifndef CPPTL_NO_TEMPLATE_PARTIAL_SPECIALIZATION
template<class ValueType>
struct STLIteratorTraits<ValueType *> // broken stl vector iterator
***************
*** 27,30 ****
--- 28,32 ----
typedef ValueType value_type;
};
+ # endif
} // namespace CppTL
***************
*** 799,803 ****
void advance()
{
! return enumerator_->advance();
}
--- 801,805 ----
void advance()
{
! enumerator_->advance();
}
|