compilation fix for VC++ statis MT build with wxUSE_STL==1
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Nov 2003 12:17:29 +0000 (12:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 1 Nov 2003 12:17:29 +0000 (12:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 503ff915c9da4de181590e9091c97d06727f3ed7..f0cb6d2910382f5efead05073558b808ca9d5c2d 100644 (file)
@@ -168,6 +168,8 @@ wxSTD ostream& operator<<(wxSTD ostream& os, const wxString& str)
   #define STATISTICS_ADD(av, val)
 #endif // WXSTRING_STATISTICS
 
+#if !wxUSE_STL
+
 // ===========================================================================
 // wxStringData class deallocation
 // ===========================================================================
@@ -180,8 +182,6 @@ void wxStringData::Free()
 }
 #endif
 
-#if !wxUSE_STL
-
 // ===========================================================================
 // wxStringBase
 // ===========================================================================