Update AST.cpp

This commit is contained in:
Liana Husikyan 2015-05-04 17:21:59 +02:00
parent 0a15157155
commit 745f569443

View File

@ -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(