Fixed 2 warnings -

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
This commit is contained in:
Ryan Norton
2003-12-14 03:45:58 +00:00
parent 25c884be6d
commit ea6747c168

View 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)