Ticket #8947, thanks Maciej Florek

[SVN r85635]
This commit is contained in:
Emil Dotchevski
2013-09-10 05:44:02 +00:00
parent 2a68f099bf
commit ac5ebbcd45

View File

@ -119,10 +119,12 @@ boost
{ {
Exception ba; Exception ba;
exception_detail::clone_impl<Exception> c(ba); exception_detail::clone_impl<Exception> c(ba);
#ifndef BOOST_EXCEPTION_DISABLE
c << c <<
throw_function(BOOST_CURRENT_FUNCTION) << throw_function(BOOST_CURRENT_FUNCTION) <<
throw_file(__FILE__) << throw_file(__FILE__) <<
throw_line(__LINE__); throw_line(__LINE__);
#endif
static exception_ptr ep(shared_ptr<exception_detail::clone_base const>(new exception_detail::clone_impl<Exception>(c))); static exception_ptr ep(shared_ptr<exception_detail::clone_base const>(new exception_detail::clone_impl<Exception>(c)));
return ep; return ep;
} }