mirror of
https://github.com/boostorg/detail.git
synced 2025-07-30 20:37:14 +02:00
Make report_exception() inline (John Maddock, Jesse Jones)
[SVN r10322]
This commit is contained in:
@ -8,6 +8,7 @@
|
|||||||
// See http://www.boost.org for updates, documentation, and revision history.
|
// See http://www.boost.org for updates, documentation, and revision history.
|
||||||
|
|
||||||
// Revision History
|
// Revision History
|
||||||
|
// 13 Jun 01 report_exception() made inline. (John Maddock, Jesse Jones)
|
||||||
// 26 Feb 01 Numerous changes suggested during formal review. (Beman)
|
// 26 Feb 01 Numerous changes suggested during formal review. (Beman)
|
||||||
// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp.
|
// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp.
|
||||||
// 22 Jan 01 Remove test_tools dependencies to reduce coupling.
|
// 22 Jan 01 Remove test_tools dependencies to reduce coupling.
|
||||||
@ -37,8 +38,8 @@ namespace boost
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
// A separate reporting function was requested during formal review.
|
// A separate reporting function was requested during formal review.
|
||||||
void report_exception( std::ostream & os,
|
inline void report_exception( std::ostream & os,
|
||||||
const char * name, const char * info )
|
const char * name, const char * info )
|
||||||
{ os << "\n** uncaught exception: " << name << " " << info << std::endl; }
|
{ os << "\n** uncaught exception: " << name << " " << info << std::endl; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user