[Scummvm-cvs-logs] SF.net SVN: scummvm:[41401] scummvm/trunk/test/common/hashmap.h
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jun 9 17:34:03 CEST 2009
Revision: 41401
http://scummvm.svn.sourceforge.net/scummvm/?rev=41401&view=rev
Author: lordhoto
Date: 2009-06-09 15:34:02 +0000 (Tue, 09 Jun 2009)
Log Message:
-----------
Changed some lines to tabs instead of whitespaces for identation.
Modified Paths:
--------------
scummvm/trunk/test/common/hashmap.h
Modified: scummvm/trunk/test/common/hashmap.h
===================================================================
--- scummvm/trunk/test/common/hashmap.h 2009-06-09 15:26:09 UTC (rev 41400)
+++ scummvm/trunk/test/common/hashmap.h 2009-06-09 15:34:02 UTC (rev 41401)
@@ -112,20 +112,20 @@
// NB: The usefulness of this example depends strongly on the
// specific hashmap implementation.
// It is constructed to insert multiple colliding elements.
- Common::HashMap<int, int> h;
- h[5] = 1;
- h[32+5] = 1;
- h[64+5] = 1;
- h[128+5] = 1;
+ Common::HashMap<int, int> h;
+ h[5] = 1;
+ h[32+5] = 1;
+ h[64+5] = 1;
+ h[128+5] = 1;
TS_ASSERT(h.contains(5));
TS_ASSERT(h.contains(32+5));
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
- h.erase(32+5);
+ h.erase(32+5);
TS_ASSERT(h.contains(5));
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
- h.erase(5);
+ h.erase(5);
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
h[32+5] = 1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list