aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-05-15 21:27:31 +0800
committerchriseth <c@ethdev.com>2015-05-15 21:27:31 +0800
commit33e708605881614acefaae2c324732299d7f61fb (patch)
tree82e8a1c35677479ec7ec06a5c695f8ddf89dd720 /InterfaceHandler.cpp
parentda121c9a26f36e34b6018fd840e6506b38f8546d (diff)
downloaddexon-solidity-33e708605881614acefaae2c324732299d7f61fb.tar.gz
dexon-solidity-33e708605881614acefaae2c324732299d7f61fb.tar.zst
dexon-solidity-33e708605881614acefaae2c324732299d7f61fb.zip
Succint interfaces.
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index a49c4dc3..85026ac1 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -101,7 +101,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
event["inputs"] = params;
abi.append(event);
}
- return std::unique_ptr<std::string>(new std::string(m_writer.write(abi)));
+ return std::unique_ptr<std::string>(new std::string(Json::FastWriter().write(abi)));
}
unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition const& _contractDef)
@@ -153,7 +153,7 @@ std::unique_ptr<std::string> InterfaceHandler::getUserDocumentation(ContractDefi
}
doc["methods"] = methods;
- return std::unique_ptr<std::string>(new std::string(m_writer.write(doc)));
+ return std::unique_ptr<std::string>(new std::string(Json::FastWriter().write(doc)));
}
std::unique_ptr<std::string> InterfaceHandler::getDevDocumentation(ContractDefinition const& _contractDef)
@@ -217,7 +217,7 @@ std::unique_ptr<std::string> InterfaceHandler::getDevDocumentation(ContractDefin
}
doc["methods"] = methods;
- return std::unique_ptr<std::string>(new std::string(m_writer.write(doc)));
+ return std::unique_ptr<std::string>(new std::string(Json::FastWriter().write(doc)));
}
/* -- private -- */