only use __forceinline for VC++ 6.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,7 +208,7 @@ struct WXDLLEXPORT wxStringData
|
|||||||
|
|
||||||
// VC++ will refuse to inline this function but profiling shows that it
|
// VC++ will refuse to inline this function but profiling shows that it
|
||||||
// is wrong
|
// is wrong
|
||||||
#if defined(__VISUALC__) && defined(__WIN32__)
|
#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
|
||||||
__forceinline
|
__forceinline
|
||||||
#endif
|
#endif
|
||||||
void Unlock() { if ( !IsEmpty() && --nRefs == 0) free(this); }
|
void Unlock() { if ( !IsEmpty() && --nRefs == 0) free(this); }
|
||||||
|
Reference in New Issue
Block a user