src/Containers.h

changeset 116
56ff19947607
parent 115
9be16e1c1e44
--- a/src/Containers.h	Mon Mar 03 01:04:16 2014 +0200
+++ b/src/Containers.h	Mon Mar 03 01:47:39 2014 +0200
@@ -264,9 +264,9 @@
 		{
 			int i = 0;
 
-			for (const ValueType & hay : *this)
+			for (const ValueType& hay : *this)
 			{
-				if (&hay == &needle)
+				if (hay == needle)
 					return i;
 
 				i++;

mercurial