From d969b503b2a3f7c225e5d4d18d81d13b7f5ad3c6 Mon Sep 17 00:00:00 2001 From: Peter Dunshee Date: Mon, 21 Oct 2024 14:10:59 -0500 Subject: [PATCH] Fix FullParentName for STL template types --- src/CppAst/CppElement.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CppAst/CppElement.cs b/src/CppAst/CppElement.cs index 3ea2cca..85d518a 100644 --- a/src/CppAst/CppElement.cs +++ b/src/CppAst/CppElement.cs @@ -56,6 +56,11 @@ public string FullParentName // root namespace here, just ignore~ p = null; } + else if (p is CppGlobalDeclarationContainer) + { + // root container here, just ignore~ + p = null; + } else { throw new NotImplementedException("Can not be here, not support type here!");