[webkit-changes] [WebKit/WebKit] 4adb95: Fix PlayStation build following 269639 at main

Ross Kirsling noreply at github.com
Mon Oct 23 00:41:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4adb95ac02378b7e298f1da271779af0df956d59
      https://github.com/WebKit/WebKit/commit/4adb95ac02378b7e298f1da271779af0df956d59
  Author: Ross Kirsling <rkirsling at gmail.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/SideDataRepository.h

  Log Message:
  -----------
  Fix PlayStation build following 269639 at main
https://bugs.webkit.org/show_bug.cgi?id=263517

Unreviewed build fix.

std::derived_from is a C++20 feature that's nearly the same as the C++11 feature std::is_base_of_v;
since it shouldn't make a difference for this particular case, let's just make use of the latter.

* Source/JavaScriptCore/runtime/SideDataRepository.h:
(JSC::SideDataRepository::ensure):
Use std::is_base_of_v<Base, Derived> instead of std::derived_from<Derived, Base>.

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




More information about the webkit-changes mailing list