Add a source_location parameter to throw_exception_from_error

This commit is contained in:
Peter Dimov committed 2022-02-05 05:24:29 +02:00
1 parent 245fff8af3
commit b92be6417a
2 files changed
+21 -20

No files matched your search

+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();
}