You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 554a3bd
Browse filesBrowse the repository at this point in the historyBrowse files
https://bugs.webkit.org/show_bug.cgi?id=304022
rdar://166326603
Reviewed by Keith Miller.
Replace the enable_if constraints on the WeakPtr pointer and reference constructors and on its deduction guides with
requires clauses. Overload resolution does not change, with one exception: the pointer constructor used to be a
template, which lost to the non-template WeakPtr(std::nullptr_t) when initialized from a literal 0. Both are now
non-templates, so that call is ambiguous. Use nullptr in the one place that relied on it.
* Source/WTF/wtf/WeakPtr.h:
(WTF::WeakPtr::WeakPtr):
* Source/WebKit/UIProcess/XR/xros/PlatformXRCompositor.mm:
(WebKit::CompositorCoordinator::CompositorCoordinator):
Canonical link: https://commits.webkit.org/324303@main
0 commit comments