From fdde09cad66dd564adbbdec9f251e33c1460a04d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 15 Jan 2007 11:10:53 +0000 Subject: [PATCH] Fix version check. [SVN r36733] --- include/boost/regex/v4/cpp_regex_traits.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/regex/v4/cpp_regex_traits.hpp b/include/boost/regex/v4/cpp_regex_traits.hpp index 6ba599a4..7e76a39d 100644 --- a/include/boost/regex/v4/cpp_regex_traits.hpp +++ b/include/boost/regex/v4/cpp_regex_traits.hpp @@ -562,7 +562,7 @@ typename cpp_regex_traits_implementation::string_type // std::collate::transform returns a different string! // So as a workaround, we'll truncate the string at the first NULL // which _seems_ to work.... -#if BOOST_WORKAROUND(__BORLANDC__, < 0x600) +#if BOOST_WORKAROUND(__BORLANDC__, < 0x580) result.erase(result.find(charT(0))); #else // @@ -1039,3 +1039,4 @@ static_mutex& cpp_regex_traits::get_mutex_inst() #endif #endif +