[Webkit-unassigned] [Bug 241437] New: WebGPU::ShaderModule::convertCheckResult() should use std::forward
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 8 13:46:27 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=241437
Bug ID: 241437
Summary: WebGPU::ShaderModule::convertCheckResult() should use
std::forward
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: dino at apple.com, mmaxfield at apple.com
WebGPU::ShaderModule::convertCheckResult() should use std::forward.
Found by clang static analyzer:
Source/WebGPU/WebGPU/ShaderModule.mm:125:16: warning: Forwarding reference passed to std::move(), which may unexpectedly cause lvalues to be moved; use std::forward() instead [bugprone-move-forwarding-reference]
return WTFMove(check);
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220608/d704a7a0/attachment.htm>
More information about the webkit-unassigned
mailing list