diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-02 19:08:32 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-02 19:08:32 +0800 |
commit | 4f13859f8c010410b7497ed860c409a8b899538c (patch) | |
tree | e116266ccf1a717b8c76e4f3c36a06b495debeb1 /Types.cpp | |
parent | bbaa9fef6c8272c567af49ecea4f68c59c335778 (diff) | |
download | dexon-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |