Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw

This commit is contained in:
Gregor Wagner 2010-05-25 16:23:54 -07:00
parent 00e546fb0b
commit 3d280eed3d

View File

@ -159,7 +159,7 @@ class HashTable : AllocPolicy
return cur == end;
}
const T &front() const {
T &front() const {
JS_ASSERT(!empty());
return cur->t;
}