diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index c7b98974..f910606a 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -29,6 +29,18 @@ static std::vector split(const T & str, const T & delimiters) { namespace CppSharp { namespace CppParser { namespace AST { +Declaration::Declaration() + : Access(AccessSpecifier::Public) + , _Namespace(0) + , Comment(0) + , IsIncomplete(false) + , IsDependent(false) + , CompleteDeclaration(0) + , DefinitionOrder(0) + , OriginalPtr(0) +{ +} + Declaration* DeclarationContext::FindAnonymous(uint64_t key) { auto it = Anonymous.find(key);