From b8088349507a83ac164f18e3fac1b5c20e46e367 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Apr 2009 13:04:22 +0000 Subject: [PATCH] eVC4 version of std::string doesn't have clear() neither (see #10718) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/stringimpl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/stringimpl.h b/include/wx/stringimpl.h index 00d24e2242..dce1f1ed40 100644 --- a/include/wx/stringimpl.h +++ b/include/wx/stringimpl.h @@ -94,8 +94,10 @@ extern WXDLLIMPEXP_DATA_BASE(const wxStringCharType*) wxEmptyStringImpl; #undef wxUSE_STD_STRING #define wxUSE_STD_STRING 1 + // the versions of std::string included with gcc 2.95 and VC6 (for which + // _MSC_VER == 1200) and eVC4 (_MSC_VER == 1201) lack clear() method #if (defined(__GNUG__) && (__GNUG__ < 3)) || \ - (defined(_MSC_VER) && (_MSC_VER <= 1200)) + (defined(_MSC_VER) && (_MSC_VER <= 1201)) #define wxSTRING_BASE_HASNT_CLEAR #endif -- 2.45.2