Browse Source

Update InterfaceHandler.cpp

cl-refactor
Liana Husikyan 10 years ago
parent
commit
7c35547631
  1. 3
      libsolidity/InterfaceHandler.cpp

3
libsolidity/InterfaceHandler.cpp

@ -108,8 +108,7 @@ unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition
{ {
string ret = "contract " + _contractDef.getName() + "{"; string ret = "contract " + _contractDef.getName() + "{";
auto populateParameters = [](vector<string> const& _paramNames, auto populateParameters = [](vector<string> const& _paramNames, vector<string> const& _paramTypes)
vector<string> const& _paramTypes)
{ {
string r = ""; string r = "";
solAssert(_paramNames.size() == _paramTypes.size(), "Names and types vector size does not match"); solAssert(_paramNames.size() == _paramTypes.size(), "Names and types vector size does not match");

Loading…
Cancel
Save