]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for VC++ 6 error
authorJulian Smart <julian@anthemion.co.uk>
Thu, 10 Jan 2008 12:10:03 +0000 (12:10 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 10 Jan 2008 12:10:03 +0000 (12:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/vector.h

index c1a8ece678de3286ddcae8b9b99e55b07b7a2aa8..9de3d724672cd0537cc2d5e8d210e01f31d32f7b 100644 (file)
@@ -54,7 +54,7 @@ public:
         // call destructors of stored objects:
         for ( size_type i = 0; i < m_size; i++ )
         {
-            m_values[i].~value_type();
+            m_values[i].~T();
         }
 
         free(m_values);