[Webkit-unassigned] [Bug 250299] New: Remove unnecessary return WTFMove in MediaSessionManagerIOS.mm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 8 07:52:25 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250299

            Bug ID: 250299
           Summary: Remove unnecessary return WTFMove in
                    MediaSessionManagerIOS.mm
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jh718.park at samsung.com

The local std::unique_ptr is moved as rvalue at return statement in function automatically by RVO, so we can remove the unnecessary WTFMove.

-- 
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/20230108/65fc5f2e/attachment.htm>


More information about the webkit-unassigned mailing list