From 214f56421eb3147cfde563c343a8dc86b049fd6e Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Nov 2017 17:27:35 +0100 Subject: [PATCH 1/2] src/thread/context.hpp: fix to build with boost 1.62 (see bitshares/bitshares-fc#5) --- src/thread/context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/context.hpp b/src/thread/context.hpp index 31bfbaaa0..9ba724883 100644 --- a/src/thread/context.hpp +++ b/src/thread/context.hpp @@ -97,7 +97,7 @@ namespace fc { } context( fc::thread* t) : -#if BOOST_VERSION >= 105600 && BOOST_VERSION <= 106100 +#if BOOST_VERSION >= 105600 my_context(nullptr), #elif BOOST_VERSION >= 105300 my_context(new bc::fcontext_t), From 212a749cde6914f67c51093742e49b75dad5fc6f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Nov 2017 18:01:09 +0100 Subject: [PATCH 2/2] include/fc/rpc/state.hpp: remove default 2.0 value from jsonrpc --- include/fc/rpc/state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/rpc/state.hpp b/include/fc/rpc/state.hpp index 9019f4c1f..de6f9a36a 100644 --- a/include/fc/rpc/state.hpp +++ b/include/fc/rpc/state.hpp @@ -6,7 +6,7 @@ namespace fc { namespace rpc { struct request { - std::string jsonrpc = "2.0"; + std::string jsonrpc; optional id; std::string method; variants params;