From ea6747c168383377cef62eb47db78c15b80a52f0 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sun, 14 Dec 2003 03:45:58 +0000 Subject: [PATCH] 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 --- include/wx/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index 45e8aa0384..3c00f4a892 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -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) -- 2.50.0