Browse Source

Check for the type map of the template type itself.

pull/1/head
triton 13 years ago
parent
commit
80e0819d71
  1. 2
      src/Generator/Generators/CLI/CLITypePrinter.cs

2
src/Generator/Generators/CLI/CLITypePrinter.cs

@ -164,7 +164,7 @@ namespace Cxxi.Generators.CLI @@ -164,7 +164,7 @@ namespace Cxxi.Generators.CLI
var decl = template.Template.TemplatedDecl;
TypeMap typeMap = null;
if (TypeMapDatabase.FindTypeMap(decl, out typeMap))
if (TypeMapDatabase.FindTypeMap(template, out typeMap))
{
typeMap.Declaration = decl;
typeMap.Type = template;

Loading…
Cancel
Save