Browse Source

Added a default constructor to Declaration to initialize the members.

pull/86/head
triton 12 years ago
parent
commit
901f42eb1d
  1. 12
      src/CppParser/AST.cpp

12
src/CppParser/AST.cpp

@ -29,6 +29,18 @@ static std::vector<T> split(const T & str, const T & delimiters) { @@ -29,6 +29,18 @@ static std::vector<T> 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);

Loading…
Cancel
Save