aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/DeclarationContainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/DeclarationContainer.h')
-rw-r--r--libsolidity/DeclarationContainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/DeclarationContainer.h b/libsolidity/DeclarationContainer.h
index 0f0b5717..ffbd1fcb 100644
--- a/libsolidity/DeclarationContainer.h
+++ b/libsolidity/DeclarationContainer.h
@@ -49,8 +49,8 @@ public:
/// @returns false if the name was already declared.
bool registerDeclaration(Declaration const& _declaration, bool _invisible = false, bool _update = false);
std::vector<Declaration const*> resolveName(ASTString const& _name, bool _recursive = false) const;
- Declaration const* getEnclosingDeclaration() const { return m_enclosingDeclaration; }
- std::map<ASTString, std::vector<Declaration const*>> const& getDeclarations() const { return m_declarations; }
+ Declaration const* enclosingDeclaration() const { return m_enclosingDeclaration; }
+ std::map<ASTString, std::vector<Declaration const*>> const& declarations() const { return m_declarations; }
/// @returns whether declaration is valid, and if not also returns previous declaration.
Declaration const* conflictingDeclaration(Declaration const& _declaration) const;