From 2372b49e73f180a9bb677bd55ed4a79fddc2bb1c Mon Sep 17 00:00:00 2001 From: triton Date: Tue, 24 Dec 2013 16:52:58 +0000 Subject: [PATCH] Fixed template names by getting the name from the underlying templated declaration. --- src/AST/Template.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/AST/Template.cs b/src/AST/Template.cs index 588fd049..941fca46 100644 --- a/src/AST/Template.cs +++ b/src/AST/Template.cs @@ -15,6 +15,13 @@ namespace CppSharp.AST /// public abstract class Template : Declaration { + // Name of the declaration. + public override string Name + { + get { return TemplatedDecl.Name; } + set { base.Name = value; } + } + protected Template() { Parameters = new List();