Browse Source

Compared types directly instead of their string representations.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/315/head
Dimitar Dobrev 11 years ago
parent
commit
011777a480
  1. 2
      src/Generator/Passes/RenamePass.cs

2
src/Generator/Passes/RenamePass.cs

@ -17,7 +17,7 @@ namespace CppSharp.Passes
{ {
public bool Equals(Parameter x, Parameter y) public bool Equals(Parameter x, Parameter y)
{ {
return x.QualifiedType.ToString() == y.QualifiedType.ToString(); return x.QualifiedType == y.QualifiedType;
} }
public int GetHashCode(Parameter obj) public int GetHashCode(Parameter obj)

Loading…
Cancel
Save