Add a source_location parameter to throw_exception_from_error

This commit is contained in:
Peter Dimov
2022-02-05 05:24:29 +02:00
parent 245fff8af3
commit b92be6417a
2 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ struct E
{
};
BOOST_NORETURN void throw_exception_from_error( Y const & )
BOOST_NORETURN void throw_exception_from_error( Y const &, boost::source_location const& )
{
throw E();
}