From 8615c4ebeba221f046c79288e3ce54eb7f389f8b Mon Sep 17 00:00:00 2001 From: Pyry Kontio Date: Tue, 14 Oct 2014 07:57:57 +0300 Subject: [PATCH] The simplest and least intrusive way to fix this. --- src/AST/Type.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AST/Type.cs b/src/AST/Type.cs index af29d76e..6c5e28a3 100644 --- a/src/AST/Type.cs +++ b/src/AST/Type.cs @@ -488,7 +488,7 @@ namespace CppSharp.AST if (type == null) return false; return Arguments.SequenceEqual(type.Arguments) - && Template.Equals(type.Template); + && Template.Name == type.Template.Name; } public override int GetHashCode()