[Webkit-unassigned] [Bug 25972] New: Help Disambiguate min/max calls in TimeRanges
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 22 18:06:43 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25972
Summary: Help Disambiguate min/max calls in TimeRanges
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bfulgham at webkit.org
I am finding that the following change is needed to get a clean build:
$ diff TimeRanges.h TimeRanges.h.brent
93,94c93,94
< ret.m_start = min(m_start, range.m_start);
< ret.m_end = max(m_end, range.m_end);
---
> ret.m_start = std::min(m_start, range.m_start);
> ret.m_end = std::max(m_end, range.m_end);
It seems that some difference in the include order (or included files) allows
the CG builds to handle this without needing to be told to use the std::
template call.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list