Stylistic changes.

This commit is contained in:
Christian
2014-12-16 16:15:34 +01:00
parent c40725c22a
commit 5b802b685e
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -314,9 +314,9 @@ shared_ptr<FunctionType const> const& ContractType::getConstructorType() const
{
if (!m_constructorType)
{
FunctionDefinition const* constr = m_contract.getConstructor();
if (constr)
m_constructorType = make_shared<FunctionType const>(*constr);
FunctionDefinition const* constructor = m_contract.getConstructor();
if (constructor)
m_constructorType = make_shared<FunctionType const>(*constructor);
else
m_constructorType = make_shared<FunctionType const>(TypePointers(), TypePointers());
}