From e0d4a3d518dc742d94571ef1e16b3f95765ec62f Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 24 Nov 2016 21:43:57 +0100 Subject: Fix emscripten build. --- libdevcore/JSON.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdevcore/JSON.h') diff --git a/libdevcore/JSON.h b/libdevcore/JSON.h index 7876dfb2..0d6e0d2e 100644 --- a/libdevcore/JSON.h +++ b/libdevcore/JSON.h @@ -28,13 +28,13 @@ namespace dev { /// Serialise the JSON object (@a _input) with identation -std::string jsonPrettyPrint(Json::Value const& _input) +inline std::string jsonPrettyPrint(Json::Value const& _input) { return Json::StyledWriter().write(_input); } /// Serialise theJ SON object (@a _input) without identation -std::string jsonCompactPrint(Json::Value const& _input) +inline std::string jsonCompactPrint(Json::Value const& _input) { Json::FastWriter writer; writer.omitEndingLineFeed(); -- cgit