aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-03-02 19:08:32 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-03-02 19:08:32 +0800
commit4f13859f8c010410b7497ed860c409a8b899538c (patch)
treee116266ccf1a717b8c76e4f3c36a06b495debeb1 /Types.cpp
parentbbaa9fef6c8272c567af49ecea4f68c59c335778 (diff)
downloaddexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.tar.gz
dexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.tar.zst
dexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.zip
Using normal pointer in getInheritableMembers()
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.cpp b/Types.cpp
index 84e02926..dc72dcc4 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -1024,7 +1024,7 @@ MemberList const& TypeType::getMembers() const
if (find(currentBases.begin(), currentBases.end(), &contract) != currentBases.end())
// We are accessing the type of a base contract, so add all public and protected
// members. Note that this does not add inherited functions on purpose.
- for (ASTPointer<Declaration> const& decl: contract.getInheritableMembers())
+ for (Declaration const* decl: contract.getInheritableMembers())
members.push_back(make_pair(decl->getName(), decl->getType()));
}
else if (m_actualType->getCategory() == Category::Enum)