Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4132ced62b83c0096bc81b1c07292a76f44248a4
      
https://github.com/WebKit/WebKit/commit/4132ced62b83c0096bc81b1c07292a76f44248a4
  Author: Fujii Hironori <hironori.fu...@sony.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorSocket.cpp

  Log Message:
  -----------
  RemoteInspectorSocket.cpp: error: implicit capture of 'this' with a capture 
default of '=' is deprecated [-Werror,-Wdeprecated-this-capture]
https://bugs.webkit.org/show_bug.cgi?id=261448

Reviewed by Ross Kirsling.

Clang 17 reported the following compiler warnings for Windows port:

> inspector/remote/socket/RemoteInspectorSocket.cpp(73,25): error: implicit 
> capture of 'this' with a capture default of '=' is deprecated 
> [-Werror,-Wdeprecated-this-capture]
> inspector/remote/socket/RemoteInspectorSocket.cpp(185,25): error: implicit 
> capture of 'this' with a capture default of '=' is deprecated 
> [-Werror,-Wdeprecated-this-capture]

* Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorSocket.cpp:
(Inspector::RemoteInspector::didClose):
(Inspector::RemoteInspector::pushListingsSoon):
Capture `this` explicitly.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to