2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-26 06:12:08 +00:00

Fix BOOST_ASIO_NO_EXCEPTIONS support.

This commit is contained in:
Christopher Kohlhoff
2020-07-02 20:10:50 +10:00
parent fde31241ba
commit 43ecf63e14
2 changed files with 2 additions and 2 deletions

View File

@@ -63,8 +63,8 @@ struct as_invocable
#endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
execution::set_value(BOOST_ASIO_MOVE_CAST(Receiver)(*receiver_));
receiver_ = 0;
}
#if !defined(BOOST_ASIO_NO_EXCEPTIONS)
}
catch (...)
{
#if defined(BOOST_ASIO_HAS_STD_EXCEPTION_PTR)

View File

@@ -63,8 +63,8 @@ struct as_operation
, ref_count_
#endif // !defined(BOOST_ASIO_HAS_MOVE)
));
}
#if !defined(BOOST_ASIO_NO_EXCEPTIONS)
}
catch (...)
{
#if defined(BOOST_ASIO_HAS_STD_EXCEPTION_PTR)