forked from boostorg/beast
Fix warnings and compile errors
This commit is contained in:
1 parent
cb0e91c602
commit
83add658f9
2 files changed
+2
-2
No files matched your search
@@ -201,7 +201,7 @@ private:
|
|||||||
{
|
{
|
||||||
element* const p (new element (field, value));
|
element* const p (new element (field, value));
|
||||||
list_.push_back (*p);
|
list_.push_back (*p);
|
||||||
auto const iter (set_.insert_commit (*p, d));
|
set_.insert_commit (*p, d);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// If field already exists, append comma
|
// If field already exists, append comma
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public:
|
|||||||
basic_message m;
|
basic_message m;
|
||||||
basic_message::parser p (m, true);
|
basic_message::parser p (m, true);
|
||||||
auto result (p.write (boost::asio::buffer(text)));
|
auto result (p.write (boost::asio::buffer(text)));
|
||||||
auto result2 (p.eof());
|
p.eof();
|
||||||
return std::make_pair (std::move(m), result.first);
|
return std::make_pair (std::move(m), result.first);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user