changeset 112:3262c0ad2d3d

* Fix hasty SimpleSet change
author IBBoard <dev@ibboard.co.uk>
date Tue, 31 Jan 2012 20:46:10 +0000
parents 9832caa89140
children e32b5ccda410
files Collections/SimpleSet.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Collections/SimpleSet.cs	Sat Jan 28 16:52:48 2012 +0000
+++ b/Collections/SimpleSet.cs	Tue Jan 31 20:46:10 2012 +0000
@@ -18,7 +18,7 @@
 		
 		public void Add(TYPE val)
 		{
-			dictionary.Add(val.GetHashCode(), val);
+			dictionary[val.GetHashCode()] = val;
 		}
 		
 		public bool AddRange(ICollection<TYPE> vals)