Make the executor_work_guard move constructor noexcept.

This commit is contained in:
Cristian Morales Vega 2019-02-12 17:22:15 +00:00 committed by Christopher Kohlhoff
parent 1a7b0c7220
commit 3b0daafa0b

View File

@ -55,7 +55,7 @@ public:
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
/// 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_)),
owns_(other.owns_)
{