diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index d8fd72069a..3981f3d69d 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -412,9 +412,9 @@ void wxAnyTestCase::GetAs() res = m_anyDoubleDouble1.GetAs(&ul); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT_EQUAL(ul, static_cast(123)); -#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&s); CPPUNIT_ASSERT(res); +#ifndef wxDONT_TEST double d2; res = s.ToDouble(&d2); CPPUNIT_ASSERT(res);