From 2cd55ebf98ed5d31db014b2a568c6a8de8d08805 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 20 Apr 2017 13:45:28 -0700 Subject: [PATCH] Fix json_body for Beast API changes --- src/ripple/rpc/json_body.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ripple/rpc/json_body.h b/src/ripple/rpc/json_body.h index d526d60939..9a92324c42 100644 --- a/src/ripple/rpc/json_body.h +++ b/src/ripple/rpc/json_body.h @@ -61,9 +61,8 @@ struct json_body } template - 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;