Update of /cvsroot/cppunit/cppunit2/include/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12400/include/cpput
Modified Files:
assertenum.h
Log Message:
* added default constructor to work around bogus warning on sun
Index: assertenum.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpput/assertenum.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** assertenum.h 23 Feb 2005 22:08:45 -0000 1.6
--- assertenum.h 26 Feb 2005 11:43:17 -0000 1.7
***************
*** 14,17 ****
--- 14,21 ----
struct DefaultComparator
{
+ DefaultComparator() // Declaration needed to avoid bogus suncc warning.
+ {
+ }
+
bool operator()( const AType &a, const BType &b ) const
{
|