From adce36ff583389819638218e2a11c0887b35282c Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 1 Feb 2015 00:46:38 +0100 Subject: [PATCH] Make tests resistant to changes in order of declaration. --- AST.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/AST.h b/AST.h index 7bcdd99f8..950553cd4 100755 --- a/AST.h +++ b/AST.h @@ -487,7 +487,6 @@ public: std::vector> const& getParameters() const { return m_parameters->getParameters(); } ParameterList const& getParameterList() const { return *m_parameters; } - Block const& getBody() const { return *m_body; } virtual TypePointer getType(ContractDefinition const* = nullptr) const override { @@ -498,7 +497,6 @@ public: private: ASTPointer m_parameters; - ASTPointer m_body; }; /**