From ff91ab96ea843bd8ab9a7c57fd799add2ebc9873 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Tue, 27 Jan 2015 15:43:28 +0100 Subject: Fixes after rebasing on develop --- AST.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'AST.h') diff --git a/AST.h b/AST.h index d769aa22..a99bc39c 100755 --- a/AST.h +++ b/AST.h @@ -182,6 +182,10 @@ struct FunctionDescription FunctionDescription(std::shared_ptr _type, Declaration const* _decl): m_description(_type, _decl){} + /// constructor for a constructor's function definition. Used only inside mix. + FunctionDescription(Declaration const* _def): + m_description(nullptr, _def){} + FunctionDescription(): m_description(nullptr, nullptr){} -- cgit