From 1bcf5c514e5c5318212e5e40aebd67995ad33faf Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Sat, 10 Sep 2016 16:27:29 +0300 Subject: [PATCH] Wrapped units with ignored classes because of their internals. Signed-off-by: Dimitar Dobrev --- src/AST/Namespace.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AST/Namespace.cs b/src/AST/Namespace.cs index becf39f5..b89f9b66 100644 --- a/src/AST/Namespace.cs +++ b/src/AST/Namespace.cs @@ -422,7 +422,7 @@ namespace CppSharp.AST { Func pred = (t => t.IsGenerated); return Enums.Exists(pred) || HasFunctions || Typedefs.Exists(pred) - || Classes.Any(pred) || Namespaces.Exists(n => n.HasDeclarations) || + || Classes.Any() || Namespaces.Exists(n => n.HasDeclarations) || Templates.Any(pred); } }