fix building tests in release mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-03-22 23:02:55 +00:00
parent 91c82e2cac
commit a17023d376

View File

@ -56,9 +56,10 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscTestCase, "MiscTestCase" );
namespace
{
void AssertIfOdd(int n)
bool AssertIfOdd(int n)
{
wxASSERT_MSG( !(n % 2), "parameter must be even" );
return true;
}
} // anonymous namespace