Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a853b6f4759c039ccc6764a2614251a27e2a6c4
      
https://github.com/WebKit/WebKit/commit/6a853b6f4759c039ccc6764a2614251a27e2a6c4
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WebKit/Platform/IPC/ArgumentCoders.h

  Log Message:
  -----------
  Use WTF::forward_like instead of std::forward_like
https://bugs.webkit.org/show_bug.cgi?id=275654
rdar://130130589

Reviewed by Yusuke Suzuki.

Microsoft's STL implementation uses an inferred return type, and clang has some 
difficulty
seeing that it is actually defined before it is used.  I'm sure we can 
eventually move back
to using std::forward_like, but since that is the only known blocker to C++23 
adoption,
let's do this now and figure out how to switch back to std::forward_like later.

* Source/WTF/wtf/StdLibExtras.h:
(std::forward_like): Deleted.
* Source/WebKit/Platform/IPC/ArgumentCoders.h:
(IPC::ArgumentCoder<std::unique_ptr<T>>::encode):
(IPC::ArgumentCoder<UniqueRef<T>>::encode):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to