[Cppunit-cvs] cppunit2/src/cpputtest testfunctor.cpp,1.6,1.7
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-02-26 11:46:00
|
Update of /cvsroot/cppunit/cppunit2/src/cpputtest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12919/src/cpputtest Modified Files: testfunctor.cpp Log Message: * added default constructor to work around bogus warning with suncc Index: testfunctor.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit2/src/cpputtest/testfunctor.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** testfunctor.cpp 20 Nov 2004 15:07:00 -0000 1.6 --- testfunctor.cpp 26 Feb 2005 11:45:50 -0000 1.7 *************** *** 33,36 **** --- 33,40 ---- struct TestFunctor { + TestFunctor() // avoid bogus suncc warning + { + } + void operator()() const { *************** *** 204,208 **** catch ( CppUT::AbortingAssertionException &e ) { ! std::cout << "testTestContext() failed: " << e.what() << std::endl; return false; } --- 208,212 ---- catch ( CppUT::AbortingAssertionException &e ) { ! std::cout << "testFunctors() failed: " << e.what() << std::endl; return false; } |