diff --git a/include/boost/asio/detail/null_thread.hpp b/include/boost/asio/detail/null_thread.hpp index 42b0ba09..4ed8db99 100644 --- a/include/boost/asio/detail/null_thread.hpp +++ b/include/boost/asio/detail/null_thread.hpp @@ -53,7 +53,7 @@ public: } // Move constructor. - null_thread(null_thread&& other) noexcept + null_thread(null_thread&&) noexcept { } @@ -63,7 +63,7 @@ public: } // Move assignment. - null_thread& operator=(null_thread&& other) noexcept + null_thread& operator=(null_thread&&) noexcept { return *this; }