rename nsDeque::Peek() to nsDeque::PeekFront()

RESOLVED FIXED in M13

Status

()

Core
XPCOM
P3
minor
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: Chris Waterson, Assigned: Sammy Ford)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
...to be consistent with PushFront() and PopFront(). This nomenclature confused
both norris and jband, who assumed Peek() corresponded to Push() and Pop(), and
was the cause of bug 18408.

Also, implement a new nsDeque::Peek() which look at the end of the deque, and
corresponds to Push()/Pop().

rickg: does that make sense?

Updated

18 years ago
Status: NEW → ASSIGNED

Updated

18 years ago
Target Milestone: M13
(Assignee)

Updated

18 years ago
Assignee: scc → sford4
Status: ASSIGNED → NEW
(Assignee)

Updated

18 years ago
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.