Hide the definition of srcloc_strip_top_level from non-GCC compilers, specifically Clang

This commit is contained in:
Peter Dimov
2022-02-04 22:55:13 +02:00
parent ea2eb5cc6c
commit 7b14d83548

View File

@ -123,6 +123,8 @@ template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ost
return os;
}
#if defined(BOOST_GCC)
namespace detail
{
@ -133,6 +135,8 @@ BOOST_CONSTEXPR inline char const* srcloc_strip_top_level( char const* fn )
} // namespace detail
#endif // #if defined(BOOST_GCC)
} // namespace boost
#if defined(BOOST_DISABLE_CURRENT_LOCATION)