forked from boostorg/throw_exception
Add a test for throw_with_location with RTTI off
This commit is contained in:
@ -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
|
||||
|
@ -51,3 +51,5 @@ run throw_with_location_test2.cpp ;
|
||||
run throw_with_location_test3.cpp ;
|
||||
|
||||
run throw_with_location_nx_test.cpp : : : <exception-handling>off ;
|
||||
|
||||
run throw_with_location_test3.cpp : : : <rtti>off : throw_with_location_test3_nr ;
|
||||
|
Reference in New Issue
Block a user