diff options
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.h')
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h index 62104611..6f5ced8c 100644 --- a/libsolidity/analysis/ReferencesResolver.h +++ b/libsolidity/analysis/ReferencesResolver.h @@ -45,19 +45,17 @@ public: ReferencesResolver( ErrorList& _errors, NameAndTypeResolver& _resolver, - ContractDefinition const* _currentContract, ParameterList const* _returnParameters, bool _resolveInsideCode = false ): m_errors(_errors), m_resolver(_resolver), - m_currentContract(_currentContract), m_returnParameters(_returnParameters), m_resolveInsideCode(_resolveInsideCode) {} /// @returns true if no errors during resolving - bool resolve(ASTNode& _root); + bool resolve(ASTNode const& _root); private: virtual bool visit(Block const&) override { return m_resolveInsideCode; } @@ -83,7 +81,6 @@ private: ErrorList& m_errors; NameAndTypeResolver& m_resolver; - ContractDefinition const* m_currentContract; ParameterList const* m_returnParameters; bool const m_resolveInsideCode; bool m_errorOccurred = false; |