forked from boostorg/assert
Hide the definition of srcloc_strip_top_level from non-GCC compilers, specifically Clang
This commit is contained in:
@ -123,6 +123,8 @@ template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ost
|
|||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(BOOST_GCC)
|
||||||
|
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -133,6 +135,8 @@ BOOST_CONSTEXPR inline char const* srcloc_strip_top_level( char const* fn )
|
|||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
|
#endif // #if defined(BOOST_GCC)
|
||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#if defined(BOOST_DISABLE_CURRENT_LOCATION)
|
#if defined(BOOST_DISABLE_CURRENT_LOCATION)
|
||||||
|
Reference in New Issue
Block a user