Add boost::core::lwt_init()

This commit is contained in:
Peter Dimov committed 2022-12-30 21:17:58 +02:00
1 parent 843e0f7bb0
commit 6299da9273
3 files changed
+22 -1

No files matched your search

+9 -1
View File
@@ -42,7 +42,6 @@
namespace boost
{
namespace detail
{
@@ -519,6 +518,15 @@ inline int report_errors()
return errors < 256? errors: 255;
}
namespace core
{
inline void lwt_init()
{
boost::detail::test_results();
}
} // namespace core
} // namespace boost
#define BOOST_TEST(expr) ( ::boost::detail::test_impl(#expr, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION, (expr)? true: false) )