mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
This commit is contained in:
parent
02d5c277c3
commit
a90f4596ff
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ using Indy.IL2CPU.Plugs;
|
||||||
using Indy.IL2CPU.IL;
|
using Indy.IL2CPU.IL;
|
||||||
|
|
||||||
namespace Cosmos.IL2CPU {
|
namespace Cosmos.IL2CPU {
|
||||||
|
// This is necessary because HashSet and Dictionary
|
||||||
|
// have troubles when differnet types of objects are stored
|
||||||
|
// in them. I dont remember the exact problem, but something
|
||||||
|
// how it compares objects.
|
||||||
public class HashcodeComparer<T>: IEqualityComparer<T> {
|
public class HashcodeComparer<T>: IEqualityComparer<T> {
|
||||||
|
|
||||||
#region IEqualityComparer<T> Members
|
#region IEqualityComparer<T> Members
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue