diff --git a/beast/http/basic_message.h b/beast/http/basic_message.h index 84629466c..3e5deb7a6 100644 --- a/beast/http/basic_message.h +++ b/beast/http/basic_message.h @@ -124,6 +124,7 @@ private: { list_ = std::move(other.list_); set_ = std::move(other.set_); + return *this; } headers_t& @@ -132,6 +133,7 @@ private: clear(); for (auto const& e : other.list_) append (e.field, e.value); + return *this; } void