aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
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 /AST.h
parentbbaa9fef6c8272c567af49ecea4f68c59c335778 (diff)
downloaddexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.tar.gz
dexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.tar.zst
dexon-solidity-4f13859f8c010410b7497ed860c409a8b899538c.zip
Using normal pointer in getInheritableMembers()
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AST.h b/AST.h
index 97e85927..d028e8a7 100644
--- a/AST.h
+++ b/AST.h
@@ -248,7 +248,7 @@ public:
std::map<FixedHash<4>, FunctionTypePointer> getInterfaceFunctions() const;
/// @returns a list of the inheritable members of this contract
- std::vector<ASTPointer<Declaration>> const& getInheritableMembers() const;
+ std::vector<Declaration const*> const& getInheritableMembers() const;
/// List of all (direct and indirect) base contracts in order from derived to base, including
/// the contract itself. Available after name resolution
@@ -276,7 +276,7 @@ private:
std::vector<ContractDefinition const*> m_linearizedBaseContracts;
mutable std::unique_ptr<std::vector<std::pair<FixedHash<4>, FunctionTypePointer>>> m_interfaceFunctionList;
mutable std::unique_ptr<std::vector<ASTPointer<EventDefinition>>> m_interfaceEvents;
- mutable std::unique_ptr<std::vector<ASTPointer<Declaration>>> m_inheritableMembers;
+ mutable std::unique_ptr<std::vector<Declaration const*>> m_inheritableMembers;
};
class InheritanceSpecifier: public ASTNode