Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74b16af735edd51fba6af6ba8845ff3e1dd42c63
https://github.com/WebKit/WebKit/commit/74b16af735edd51fba6af6ba8845ff3e1dd42c63
Author: David Kilzer <[email protected]>
Date: 2025-10-04 (Sat, 04 Oct 2025)
Changed paths:
M Source/WTF/wtf/NativePromise.h
Log Message:
-----------
[WTF] Fix bugprone-move-forwarding-reference warnings in NativePromise.h
<https://bugs.webkit.org/show_bug.cgi?id=300176>
<rdar://161961725>
Reviewed by Ryosuke Niwa.
* Source/WTF/wtf/NativePromise.h:
(WTF::NativePromise::whenSettled):
(WTF::NativePromiseProducer::NativePromiseProducer):
(WTF::NativePromiseProducer::settle):
(WTF::NativePromiseProducer::setDefaultReject):
(WTF::invokeAsync):
- Switch from WTFMove() to std::forward<>() since the parameters are
already r-value references.
Canonical link: https://commits.webkit.org/301008@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes