diff options
author | Christian <c@ethdev.com> | 2014-12-16 23:15:34 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-16 23:15:34 +0800 |
commit | 5b802b685e794832bf8834183bf6c9604e513bbf (patch) | |
tree | fac27ecefb32f91893f1ac685f196ae32913a551 /Types.cpp | |
parent | c40725c22adaa2159bd06894740f7559733afbb4 (diff) | |
download | dexon-solidity-5b802b685e794832bf8834183bf6c9604e513bbf.tar.gz dexon-solidity-5b802b685e794832bf8834183bf6c9604e513bbf.tar.zst dexon-solidity-5b802b685e794832bf8834183bf6c9604e513bbf.zip |
Stylistic changes.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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()); } |