Browse Source

Update AST.cpp

cl-refactor
Liana Husikyan 10 years ago
parent
commit
e25c6beb27
  1. 2
      libsolidity/AST.cpp

2
libsolidity/AST.cpp

@ -147,7 +147,7 @@ void ContractDefinition::checkDuplicateFunctions() const
SecondarySourceLocation ssl;
auto it = functions[getName()].begin();
++it;
for(; it != functions[getName()].end(); ++it)
for (; it != functions[getName()].end(); ++it)
ssl.append("Another declaration is here:", (*it)->getLocation());
BOOST_THROW_EXCEPTION(

Loading…
Cancel
Save