Open
Bug 1645323
Opened 5 years ago
Updated 3 years ago
nsTObserverArray iterators silently drop const-ness
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: sg, Unassigned)
Details
The iterators of a nsTObserverArray, i.e. ForwardIterator, EndLimitedIterator and BackwardsIterator silently drop const-ness of the array used to construct them, i.e. it is easy to accidentally modify elements of a nsTObserverArray the caller only has a const& to.
Updated•3 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•