Update AST.cpp

This commit is contained in:
Liana Husikyan 2015-05-04 17:28:28 +02:00
parent 745f569443
commit e2d9ef6945

View File

@ -95,10 +95,9 @@ void ContractDefinition::checkTypeRequirements()
{
FixedHash<4> const& hash = it.first;
if (hashes.count(hash))
BOOST_THROW_EXCEPTION(
createTypeError(
string("Function signature hash collision for ") + it.second->externalSignature())
);
BOOST_THROW_EXCEPTION(createTypeError(
string("Function signature hash collision for ") + it.second->externalSignature()
));
hashes.insert(hash);
}
}