aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerContext.cpp')
-rw-r--r--CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.cpp b/CompilerContext.cpp
index 7184dc37..61c25052 100644
--- a/CompilerContext.cpp
+++ b/CompilerContext.cpp
@@ -126,7 +126,7 @@ eth::AssemblyItem CompilerContext::getSuperFunctionEntryLabel(string const& _nam
FunctionDefinition const* CompilerContext::getNextConstructor(ContractDefinition const& _contract) const
{
vector<ContractDefinition const*>::const_iterator it = getSuperContract(_contract);
- for (; it != m_inheritanceHierarchy.end(); it = getSuperContract(**it))
+ for (; it != m_inheritanceHierarchy.end(); ++it)
if ((*it)->getConstructor())
return (*it)->getConstructor();