From 419272a91fd8f2a9b9f788e68c8370299eaff941 Mon Sep 17 00:00:00 2001 From: triton Date: Mon, 18 Nov 2013 00:48:26 +0000 Subject: [PATCH] Do not visit class template declarations directly when checking for ignored types. If we do not this, then type maps will get called with declarations and not types. --- src/Generator/Types/Types.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Generator/Types/Types.cs b/src/Generator/Types/Types.cs index 91a6e919..0d0671b0 100644 --- a/src/Generator/Types/Types.cs +++ b/src/Generator/Types/Types.cs @@ -70,6 +70,11 @@ namespace CppSharp return VisitDeclaration(@class); } + public override bool VisitClassTemplateDecl(ClassTemplate template) + { + return false; + } + public override bool VisitTypedefType(TypedefType typedef, TypeQualifiers quals) {