Ticket #6450: throw_exception.patch
File throw_exception.patch, 793 bytes (added by , 11 years ago) |
---|
-
throw_exception.hpp
42 36 #if !defined( BOOST_EXCEPTION_DISABLE ) 43 37 # include <boost/exception/exception.hpp> 44 38 # include <boost/current_function.hpp> 45 # define BOOST_THROW_EXCEPTION(x) ::boost::exception_detail::throw_exception_(x,BOOST_CURRENT_FUNCTION,__FILE__,__LINE__) 39 # ifndef BOOST_THROW_EXCEPTION_CURRENT_FUNCTION 40 # define BOOST_THROW_EXCEPTION_CURRENT_FUNCTION BOOST_CURRENT_FUNCTION 41 # endif 42 # define BOOST_THROW_EXCEPTION(x) ::boost::exception_detail::throw_exception_(x,BOOST_THROW_EXCEPTION_CURRENT_FUNCTION,__FILE__,__LINE__) 46 43 #else 47 44 # define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x) 48 45 #endif