Make the executor_work_guard move constructor noexcept.
This commit is contained in:
parent
1a7b0c7220
commit
3b0daafa0b
@ -55,7 +55,7 @@ public:
|
|||||||
|
|
||||||
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
||||||
/// Move constructor.
|
/// Move constructor.
|
||||||
executor_work_guard(executor_work_guard&& other)
|
executor_work_guard(executor_work_guard&& other) ASIO_NOEXCEPT
|
||||||
: executor_(ASIO_MOVE_CAST(Executor)(other.executor_)),
|
: executor_(ASIO_MOVE_CAST(Executor)(other.executor_)),
|
||||||
owns_(other.owns_)
|
owns_(other.owns_)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user