aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-09 18:51:52 +0800
committerChristian <c@ethdev.com>2015-01-09 18:51:52 +0800
commitffeb7daf11a3186d01d75b4bcdfbbbd106d07680 (patch)
tree49bc44472e9b602e4113cd6950bf801334c0b163 /InterfaceHandler.cpp
parent42d186fdfca29fc23aff72b97493cdc8e03ed6b1 (diff)
downloaddexon-solidity-ffeb7daf11a3186d01d75b4bcdfbbbd106d07680.tar.gz
dexon-solidity-ffeb7daf11a3186d01d75b4bcdfbbbd106d07680.tar.zst
dexon-solidity-ffeb7daf11a3186d01d75b4bcdfbbbd106d07680.zip
Buildfix after semantical merge conflict.
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index ca805fc9..4ce6e989 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -70,8 +70,9 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition const& _contractDef)
{
string ret = "contract " + _contractDef.getName() + "{";
- for (FunctionDefinition const* f: _contractDef.getInterfaceFunctions())
+ for (auto const& it: _contractDef.getInterfaceFunctions())
{
+ FunctionDefinition const* f = it.second;
auto populateParameters = [](vector<ASTPointer<VariableDeclaration>> const& _vars)
{
string r = "";