[Webkit-unassigned] [Bug 43841] SegmentedVector::operator== typo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 12 00:27:04 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43841





--- Comment #3 from andreyf <andrey154 at gmail.com>  2010-08-12 00:27:04 PST ---
(In reply to comment #1)
> Looks bad! I wonder what the symptom is.

Darin, unfortunately, this was found by my code intrumentation utility and i don't have time to compose a unit test to reproduce erroneous behaviour.
I promise to try later.
Why don't change this to something like:
        bool operator==(const Iterator& other) const
        {
            return ! operator!= (other);
        }
It will not consume much code space and provide full external interface to SegmentedVector. 

Kind regards,
Andrey

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list