X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc6ceca789f584cf3fc3fc17f6da4b7493ca69bd..a25a17732c2d4d34d5d35a5318053dd8c6e29722:/tests/weakref/weakref.cpp?ds=sidebyside diff --git a/tests/weakref/weakref.cpp b/tests/weakref/weakref.cpp index f2a9c79d04..2c0eea61be 100644 --- a/tests/weakref/weakref.cpp +++ b/tests/weakref/weakref.cpp @@ -226,15 +226,6 @@ void WeakRefTestCase::DeleteTest() wxEvtHandlerRef wre(peh); wxWeakRef wro(peh); - // test size of references (see that it has selected right base class) -#ifdef HAVE_PARTIAL_SPECIALIZATION - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) ); - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*4, sizeof(wro) ); -#else - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) ); - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wro) ); -#endif - CPPUNIT_ASSERT( wre.get() == peh ); CPPUNIT_ASSERT( wro.get() == peh );