Browse Source

Fixed template names by getting the name from the underlying templated declaration.

pull/144/merge
triton 12 years ago
parent
commit
2372b49e73
  1. 7
      src/AST/Template.cs

7
src/AST/Template.cs

@ -15,6 +15,13 @@ namespace CppSharp.AST
/// </summary> /// </summary>
public abstract class Template : Declaration public abstract class Template : Declaration
{ {
// Name of the declaration.
public override string Name
{
get { return TemplatedDecl.Name; }
set { base.Name = value; }
}
protected Template() protected Template()
{ {
Parameters = new List<TemplateParameter>(); Parameters = new List<TemplateParameter>();

Loading…
Cancel
Save