From dd7163b7f09c6513509303e39b560a235256d1ff Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 30 Sep 2013 15:54:47 +0000 Subject: [PATCH] Concept: Remove obsolete GCC version checks. [SVN r86057] --- include/boost/concept/assert.hpp | 3 +-- include/boost/concept/usage.hpp | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) mode change 100755 => 100644 include/boost/concept/assert.hpp diff --git a/include/boost/concept/assert.hpp b/include/boost/concept/assert.hpp old mode 100755 new mode 100644 index 80eca81..cf98179 --- a/include/boost/concept/assert.hpp +++ b/include/boost/concept/assert.hpp @@ -18,8 +18,7 @@ # if !defined(BOOST_NO_OLD_CONCEPT_SUPPORT) \ && !defined(BOOST_NO_SFINAE) \ \ - && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) \ - && !(BOOST_WORKAROUND(__GNUC__, == 2)) + && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) // Note: gcc-2.96 through 3.3.x have some SFINAE, but no ability to // check for the presence of particularmember functions. diff --git a/include/boost/concept/usage.hpp b/include/boost/concept/usage.hpp index 21547c3..e73370f 100644 --- a/include/boost/concept/usage.hpp +++ b/include/boost/concept/usage.hpp @@ -10,12 +10,6 @@ namespace boost { namespace concepts { -# if BOOST_WORKAROUND(__GNUC__, == 2) - -# define BOOST_CONCEPT_USAGE(model) ~model() - -# else - template struct usage_requirements { @@ -37,8 +31,6 @@ struct usage_requirements # endif -# endif - }} // namespace boost::concepts #endif // BOOST_CONCEPT_USAGE_DWA2006919_HPP