From 2353e7abd8eee89c9af0fb54e0b66b8984c574bb Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 12 Apr 2007 20:33:48 +0000 Subject: [PATCH] Try turning off a borland workaround in the new version of borland, as it seems to be causing problems in the tests. [SVN r37426] --- include/boost/functional/hash/hash.hpp | 2 +- include/boost/functional/hash_fwd.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/functional/hash/hash.hpp b/include/boost/functional/hash/hash.hpp index 20a381a..94391d7 100644 --- a/include/boost/functional/hash/hash.hpp +++ b/include/boost/functional/hash/hash.hpp @@ -222,7 +222,7 @@ namespace boost } } -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) +#if BOOST_WORKAROUND(__BORLANDC__, < 0x0590) template inline std::size_t hash_range(T* first, T* last) { diff --git a/include/boost/functional/hash_fwd.hpp b/include/boost/functional/hash_fwd.hpp index 688630b..7c58e5a 100644 --- a/include/boost/functional/hash_fwd.hpp +++ b/include/boost/functional/hash_fwd.hpp @@ -31,7 +31,7 @@ namespace boost template std::size_t hash_range(It, It); template void hash_range(std::size_t&, It, It); -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) +#if BOOST_WORKAROUND(__BORLANDC__, < 0x0590) template inline std::size_t hash_range(T*, T*); template inline void hash_range(std::size_t&, T*, T*); #endif