diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index e9c74fb8a..7d0598eda 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -81,7 +81,6 @@ std::unique_ptr InterfaceHandler::getABIInterface(ContractDefinitio event["inputs"] = params; abi.append(event); } - return std::unique_ptr(new std::string(m_writer.write(abi))); } @@ -118,7 +117,6 @@ unique_ptr InterfaceHandler::getABISolidityInterface(ContractDefinition ret += "event " + it->getName() + params + ";"; } - return unique_ptr(new string(ret + "}")); }