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