From d05b30e40030a14423780d6723feee75b90eaf60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 29 Jan 2008 17:38:04 +0000 Subject: [PATCH] VC5 didn't support partial specialization either, check for VC>=7 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/meta/movable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/meta/movable.h b/include/wx/meta/movable.h index cb207abc39..7fc60d0bbf 100644 --- a/include/wx/meta/movable.h +++ b/include/wx/meta/movable.h @@ -56,7 +56,7 @@ WX_DECLARE_TYPE_MOVABLE(wxULongLong_t) // Visual C++ 6.0 can't compile partial template specializations and as this is // only an optimization, we can live with pointers not being recognized as // movable types under VC6 -#ifndef __VISUALC6__ +#if !wxCHECK_VISUALC_VERSION(7) // pointers are movable: template @@ -70,7 +70,7 @@ struct wxIsMovable enum { value = true }; }; -#endif // !__VISUALC6__ +#endif // !VC++ < 7 // Our implementation of wxString is written in such way that it's safe to move // it around. OTOH, we don't know anything about std::string. -- 2.45.2