]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 Fix: Use wxANY_AS() instead of wxAny::As<>()
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 20 Jun 2010 07:08:13 +0000 (07:08 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 20 Jun 2010 07:08:13 +0000 (07:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index 156ba086899a78885cc707d117b45848cffbe684..36109d5c98173a760a00960511ac2080e5e508e5 100644 (file)
@@ -729,7 +729,7 @@ void wxAnyTestCase::Misc()
         }
 
         wxAny any2 = any;
-        CPPUNIT_ASSERT( any2.As<MyClass>().GetValue() == 15 );
+        CPPUNIT_ASSERT( wxANY_AS(any2, MyClass).GetValue() == 15 );
     }
 
     // Make sure allocations and deallocations match