aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-03-06 00:00:37 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-03-06 00:00:37 +0800
commit3340053fd95b73facc8a1534a130f58698808f2e (patch)
tree3e10e6ac7a09499c14a6816b6a26e2aedabb0f60 /libsolidity/ast
parentb8589fbe0f4eea7b74ce45c2dbaf1bbf710e7287 (diff)
downloaddexon-solidity-3340053fd95b73facc8a1534a130f58698808f2e.tar.gz
dexon-solidity-3340053fd95b73facc8a1534a130f58698808f2e.tar.zst
dexon-solidity-3340053fd95b73facc8a1534a130f58698808f2e.zip
Style improvements.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index bde0dd6e..26bde1c4 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -3000,7 +3000,7 @@ bool MagicType::operator==(Type const& _other) const
return other.m_kind == m_kind;
}
-MemberList::MemberMap MagicType::nativeMembers(ContractDefinition const *_contract) const
+MemberList::MemberMap MagicType::nativeMembers(ContractDefinition const* _contract) const
{
solAssert(_contract, "");
const bool v050 = _contract->sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050);
@@ -3025,7 +3025,7 @@ MemberList::MemberMap MagicType::nativeMembers(ContractDefinition const *_contra
};
if (!v050)
members.emplace_back("gas", make_shared<IntegerType>(256));
- return MemberList::MemberMap(members);
+ return members;
}
case Kind::Transaction:
return MemberList::MemberMap({