Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9019b5fba9140ef43a39d0855594b638fbf8f4f9
      
https://github.com/WebKit/WebKit/commit/9019b5fba9140ef43a39d0855594b638fbf8f4f9
  Author: Chris Dumez <[email protected]>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M Source/WTF/wtf/Vector.h

  Log Message:
  -----------
  Fix compiler warning in WTF::moveToVectorOf()
https://bugs.webkit.org/show_bug.cgi?id=261534

Reviewed by Darin Adler.

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]
```

* Source/WTF/wtf/Vector.h:
(WTF::moveToVectorOf):

Canonical link: https://commits.webkit.org/267994@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to