Bug 246592 - [Debug] Build failure in ThreadAssertions.h
Summary: [Debug] Build failure in ThreadAssertions.h
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Xabier Rodríguez Calvar
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-16 10:34 PDT by Xabier Rodríguez Calvar
Modified: 2022-10-16 10:42 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xabier Rodríguez Calvar 2022-10-16 10:34:02 PDT
/app/webkit/Source/WTF/wtf/ThreadAssertions.h: In member function ‘WTF::ThreadLikeAssertion& WTF::ThreadLikeAssertion::operator=(WTF::ThreadLikeAssertion&&)’:
/app/webkit/Source/WTF/wtf/ThreadAssertions.h:126:18: error: ‘exchange’ is not a member of ‘std’; did you mean ‘std::__atomic_impl::exchange’?
  126 |     m_uid = std::exchange(other.m_uid, anyThreadLike);
      |                  ^~~~~~~~
Comment 1 Xabier Rodríguez Calvar 2022-10-16 10:39:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5430
Comment 2 EWS 2022-10-16 10:41:27 PDT
Committed 255605@main (c721595118ec): <https://commits.webkit.org/255605@main>

Reviewed commits have been landed. Closing PR #5430 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-16 10:42:19 PDT
<rdar://problem/101223473>