mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 17:38:36 +00:00
Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw
This commit is contained in:
parent
00e546fb0b
commit
3d280eed3d
@ -159,7 +159,7 @@ class HashTable : AllocPolicy
|
||||
return cur == end;
|
||||
}
|
||||
|
||||
const T &front() const {
|
||||
T &front() const {
|
||||
JS_ASSERT(!empty());
|
||||
return cur->t;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user