From 90560a3278d24cc5ffe47b37403d3657ce8a8faf Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 28 Apr 2005 16:31:39 +0000 Subject: [PATCH] Added workaround for old EDG based compilers (SGI cxx compiler). [SVN r28518] --- include/boost/regex/v4/regex_traits_defaults.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/boost/regex/v4/regex_traits_defaults.hpp b/include/boost/regex/v4/regex_traits_defaults.hpp index ff7dea29..fd776af6 100644 --- a/include/boost/regex/v4/regex_traits_defaults.hpp +++ b/include/boost/regex/v4/regex_traits_defaults.hpp @@ -220,12 +220,18 @@ inline std::ptrdiff_t global_length(const wchar_t* p) } #endif template -inline charT BOOST_REGEX_CALL global_lower(charT c) +#if !BOOST_WORKAROUND(__EDG_VERSION__, <= 245) +inline +#endif +charT BOOST_REGEX_CALL global_lower(charT c) { return c; } template -inline charT BOOST_REGEX_CALL global_upper(charT c) +#if !BOOST_WORKAROUND(__EDG_VERSION__, <= 245) +inline +#endif +charT BOOST_REGEX_CALL global_upper(charT c) { return c; }