[Webkit-unassigned] [Bug 38630] VS2010 asserts a null iterator passed to std::copy in Vector::operator=

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 8 10:43:02 PDT 2010


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





--- Comment #4 from Kent Tamura <tkent at chromium.org>  2010-05-08 10:43:00 PST ---
I think we should add just

} else if (!other.size())
    return *this;

(No removing "if (!begin()) return *this;")

This is an optimization for all compilers and solve the VS2010 issue.

-- 
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