forked from boostorg/regex
Added workaround for old EDG based compilers (SGI cxx compiler).
[SVN r28518]
This commit is contained in:
1 parent
2e0466d662
commit
90560a3278
1 file changed
+8
-2
@@ -220,12 +220,18 @@ inline std::ptrdiff_t global_length(const wchar_t* p)
|
||||
}
|
||||
#endif
|
||||
template <class charT>
|
||||
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 <class charT>
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user