mirror of
https://github.com/boostorg/throw_exception.git
synced 2025-07-30 20:37:13 +02:00
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)
|
#if defined(BOOST_NO_RTTI)
|
||||||
|
|
||||||
|
(void)e;
|
||||||
return boost::source_location();
|
return boost::source_location();
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -51,3 +51,5 @@ run throw_with_location_test2.cpp ;
|
|||||||
run throw_with_location_test3.cpp ;
|
run throw_with_location_test3.cpp ;
|
||||||
|
|
||||||
run throw_with_location_nx_test.cpp : : : <exception-handling>off ;
|
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