Add a test for throw_with_location with RTTI off

This commit is contained in:
Peter Dimov
2022-02-15 00:59:05 +02:00
parent 8608fdd923
commit cffa8cd68c
2 changed files with 3 additions and 0 deletions

View File

@ -251,6 +251,7 @@ template<class E> boost::source_location get_throw_location( E const & e )
{
#if defined(BOOST_NO_RTTI)
(void)e;
return boost::source_location();
#else