diff --git a/asio/include/asio/detail/impl/reactive_descriptor_service.ipp b/asio/include/asio/detail/impl/reactive_descriptor_service.ipp index 05a7f8d5..1fe86573 100644 --- a/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +++ b/asio/include/asio/detail/impl/reactive_descriptor_service.ipp @@ -51,6 +51,7 @@ void reactive_descriptor_service::construct( void reactive_descriptor_service::move_construct( reactive_descriptor_service::implementation_type& impl, reactive_descriptor_service::implementation_type& other_impl) + ASIO_NOEXCEPT { impl.descriptor_ = other_impl.descriptor_; other_impl.descriptor_ = -1; diff --git a/asio/include/asio/detail/reactive_descriptor_service.hpp b/asio/include/asio/detail/reactive_descriptor_service.hpp index 4e7cf286..be2be717 100644 --- a/asio/include/asio/detail/reactive_descriptor_service.hpp +++ b/asio/include/asio/detail/reactive_descriptor_service.hpp @@ -85,7 +85,7 @@ public: // Move-construct a new descriptor implementation. ASIO_DECL void move_construct(implementation_type& impl, - implementation_type& other_impl); + implementation_type& other_impl) ASIO_NOEXCEPT; // Move-assign from another descriptor implementation. ASIO_DECL void move_assign(implementation_type& impl, diff --git a/asio/include/asio/posix/basic_descriptor.hpp b/asio/include/asio/posix/basic_descriptor.hpp index f851bdd4..b9770ca8 100644 --- a/asio/include/asio/posix/basic_descriptor.hpp +++ b/asio/include/asio/posix/basic_descriptor.hpp @@ -168,7 +168,7 @@ public: * constructed using the @c basic_descriptor(const executor_type&) * constructor. */ - basic_descriptor(basic_descriptor&& other) + basic_descriptor(basic_descriptor&& other) ASIO_NOEXCEPT : impl_(std::move(other.impl_)) { } diff --git a/asio/include/asio/posix/basic_stream_descriptor.hpp b/asio/include/asio/posix/basic_stream_descriptor.hpp index 8a91b9e6..c4207fb6 100644 --- a/asio/include/asio/posix/basic_stream_descriptor.hpp +++ b/asio/include/asio/posix/basic_stream_descriptor.hpp @@ -144,7 +144,7 @@ public: * constructed using the @c basic_stream_descriptor(const executor_type&) * constructor. */ - basic_stream_descriptor(basic_stream_descriptor&& other) + basic_stream_descriptor(basic_stream_descriptor&& other) ASIO_NOEXCEPT : descriptor(std::move(other)) { }