aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-05-04 23:28:28 +0800
committerLiana Husikyan <liana@ethdev.com>2015-05-04 23:28:28 +0800
commite2d9ef69456501439f2237bacacc19f833eb6fb7 (patch)
tree45a175d38fbdfea99676f0ec0d7ec1a237bd3229
parent745f5694436fe2c269b5cc3498c7de64be5afcac (diff)
downloaddexon-solidity-e2d9ef69456501439f2237bacacc19f833eb6fb7.tar.gz
dexon-solidity-e2d9ef69456501439f2237bacacc19f833eb6fb7.tar.zst
dexon-solidity-e2d9ef69456501439f2237bacacc19f833eb6fb7.zip
Update AST.cpp
-rw-r--r--AST.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/AST.cpp b/AST.cpp
index 4e87e68f..2f98ce4f 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -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);
}
}