Bug 261534 - Fix compiler warning in WTF::moveToVectorOf()
Summary: Fix compiler warning in WTF::moveToVectorOf()
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: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-13 16:09 PDT by Chris Dumez
Modified: 2023-09-14 09:52 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 Chris Dumez 2023-09-13 16:09:25 PDT
Fix compiler warning in WTF::moveToVectorOf():
```
/usr/local/include/wtf/Vector.h:1935:16: warning: Forwarding reference passed to std::move(), which may unexpectedly cause lvalues to be moved; use std::forward() instead [bugprone-move-forwarding-reference]
```
Comment 1 Chris Dumez 2023-09-13 16:11:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17755
Comment 2 EWS 2023-09-14 09:51:11 PDT
Committed 267994@main (9019b5fba914): <https://commits.webkit.org/267994@main>

Reviewed commits have been landed. Closing PR #17755 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-14 09:52:15 PDT
<rdar://problem/115500667>