From 6d25b771bda4dcf67b7087e821df5660169c7b3a Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 1 Oct 2013 08:46:45 +0000 Subject: [PATCH] Functional: Remove obsolete GCC version checks. [SVN r86112] --- include/boost/functional/hash/hash.hpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/include/boost/functional/hash/hash.hpp b/include/boost/functional/hash/hash.hpp index d8ea415..0a43139 100644 --- a/include/boost/functional/hash/hash.hpp +++ b/include/boost/functional/hash/hash.hpp @@ -34,13 +34,6 @@ // Loop executes infinitely. #endif -#if BOOST_WORKAROUND(__GNUC__, < 3) \ - && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) -#define BOOST_HASH_CHAR_TRAITS string_char_traits -#else -#define BOOST_HASH_CHAR_TRAITS char_traits -#endif - namespace boost { namespace hash_detail @@ -135,7 +128,7 @@ namespace boost template std::size_t hash_value( - std::basic_string, A> const&); + std::basic_string, A> const&); template typename boost::hash_detail::float_numbers::type hash_value(T); @@ -319,7 +312,7 @@ namespace boost template inline std::size_t hash_value( - std::basic_string, A> const& v) + std::basic_string, A> const& v) { return hash_range(v.begin(), v.end()); } @@ -478,8 +471,6 @@ namespace boost #endif } -#undef BOOST_HASH_CHAR_TRAITS - #if defined(BOOST_MSVC) #pragma warning(pop) #endif