mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix emscripten build.
This commit is contained in:
parent
1316c0c872
commit
e0d4a3d518
@ -28,13 +28,13 @@ namespace dev
|
|||||||
{
|
{
|
||||||
|
|
||||||
/// Serialise the JSON object (@a _input) with identation
|
/// 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);
|
return Json::StyledWriter().write(_input);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Serialise theJ SON object (@a _input) without identation
|
/// 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;
|
Json::FastWriter writer;
|
||||||
writer.omitEndingLineFeed();
|
writer.omitEndingLineFeed();
|
||||||
|
Loading…
Reference in New Issue
Block a user