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; }