I thought I compiled this before committing but apparnetly not

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5875 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Tom Conkling
2009-07-17 18:44:34 +00:00
parent d4c3964b22
commit 7e5f28042f
+3 -3
View File
@@ -39,12 +39,12 @@ public class ObjectMap
} }
/** @inheritDoc */ /** @inheritDoc */
public function put (key :Object, value :Object) :*; public function put (key :Object, value :Object) :*
{ {
var oldVal :* = _dict[key]; var oldVal :* = _dict[key];
_dict[key] = value; _dict[key] = value;
if (oldVal === undefined) { if (oldVal === undefined) {
size++; _size++;
} }
return oldVal; return oldVal;
@@ -56,7 +56,7 @@ public class ObjectMap
var oldVal :* = _dict[key]; var oldVal :* = _dict[key];
if (oldVal !== undefined) { if (oldVal !== undefined) {
delete _dict[key]; delete _dict[key];
size--; _size--;
} }
return oldVal; return oldVal;