Fix json_body for Beast API changes

This commit is contained in:
Vinnie Falco
2017-04-20 13:45:28 -07:00
parent 4e43e22a3a
commit 2cd55ebf98

View File

@@ -61,9 +61,8 @@ struct json_body
}
template<class Writef>
boost::tribool
write(beast::http::resume_context&&,
beast::error_code&, Writef&& wf) noexcept
bool
write(beast::error_code&, Writef&& wf) noexcept
{
wf(sb_.data());
return true;