[webkit-changes] [WebKit/WebKit] 4132ce: RemoteInspectorSocket.cpp: error: implicit capture...
Fujii Hironori
noreply at github.com
Mon Sep 11 20:08:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4132ced62b83c0096bc81b1c07292a76f44248a4
https://github.com/WebKit/WebKit/commit/4132ced62b83c0096bc81b1c07292a76f44248a4
Author: Fujii Hironori <Hironori.Fujii at 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
More information about the webkit-changes
mailing list