Fix warnings and compile errors

This commit is contained in:
Vinnie Falco
2014-08-20 17:03:54 -07:00
parent cb0e91c602
commit 83add658f9
2 changed files with 2 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ private:
{
element* const p (new element (field, value));
list_.push_back (*p);
auto const iter (set_.insert_commit (*p, d));
set_.insert_commit (*p, d);
return;
}
// If field already exists, append comma

View File

@@ -32,7 +32,7 @@ public:
basic_message m;
basic_message::parser p (m, true);
auto result (p.write (boost::asio::buffer(text)));
auto result2 (p.eof());
p.eof();
return std::make_pair (std::move(m), result.first);
}