From bf403a61421377f09b00b70e82d7d7fbd7739612 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 5 Aug 2014 16:43:13 -0700 Subject: [PATCH] Fix missing return values in headers_t --- beast/http/basic_message.h | 2 ++ 1 file changed, 2 insertions(+) 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