aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-23 09:35:27 +0800
committerChristian <c@ethdev.com>2015-01-26 17:23:39 +0800
commit7ded95c776717cf96e96dffb7425c86b47ad8b0e (patch)
tree35ef6d03bd36236ab72f9d9bf3cae6acd4c02b51 /AST.h
parent941c77c8fadd6195809cd2d572feb64478c4fb20 (diff)
downloaddexon-solidity-7ded95c776717cf96e96dffb7425c86b47ad8b0e.tar.gz
dexon-solidity-7ded95c776717cf96e96dffb7425c86b47ad8b0e.tar.zst
dexon-solidity-7ded95c776717cf96e96dffb7425c86b47ad8b0e.zip
Compilation of function modifiers.
Diffstat (limited to 'AST.h')
-rwxr-xr-xAST.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/AST.h b/AST.h
index ded30e9c..e047f976 100755
--- a/AST.h
+++ b/AST.h
@@ -722,12 +722,8 @@ public:
virtual void accept(ASTConstVisitor& _visitor) const override;
virtual void checkTypeRequirements() override;
- void setFunctionReturnParameters(ParameterList const& _parameters) { m_returnParameters = &_parameters; }
- ParameterList const& getFunctionReturnParameters() const
- {
- solAssert(m_returnParameters, "");
- return *m_returnParameters;
- }
+ void setFunctionReturnParameters(ParameterList const* _parameters) { m_returnParameters = _parameters; }
+ ParameterList const* getFunctionReturnParameters() const { return m_returnParameters; }
Expression const* getExpression() const { return m_expression.get(); }
private: