]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed 2 warnings -
authorRyan Norton <wxprojects@comcast.net>
Sun, 14 Dec 2003 03:45:58 +0000 (03:45 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 14 Dec 2003 03:45:58 +0000 (03:45 +0000)
VC++ simply doesn't want to inline that function....

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/string.h

index 45e8aa038436923a2ac1d13e4068605777ac2962..3c00f4a892f470940c48c49dea676885e75c663e 100644 (file)
@@ -216,7 +216,8 @@ struct WXDLLIMPEXP_BASE wxStringData
 
   // VC++ will refuse to inline Unlock but profiling shows that it is wrong
 #if defined(__VISUALC__) && (__VISUALC__ >= 1200)
-  __forceinline
+//     RN - VC6  Refuses to inline this anyway and spits out 2 warnings...
+//  __forceinline
 #endif
   // VC++ free must take place in same DLL as allocation when using non dll
   // run-time library (e.g. Multithreaded instead of Multithreaded DLL)