From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Fri, 26 Aug 2022 00:10:16 +0900 Subject: Enable -Wunqualified-std-cast-call Refs https://chromium-review.googlesource.com/c/chromium/src/+/3825237 Should be upstreamed. diff --git a/src/node_http2.cc b/src/node_http2.cc index cb44e3aec2e8e2a0abbf8ce5d7e536787a9e2fb8..61009d8001920454fcc5f3cca080826f6175a092 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -644,7 +644,7 @@ void Http2Stream::EmitStatistics() { duration, statistics_); - env()->SetImmediate([entry = move(entry)](Environment* env) { + env()->SetImmediate([entry = std::move(entry)](Environment* env) { if (HasHttp2Observer(env)) entry->Notify(env); });