From 3f6f8f920fcdb5fa305695cdce6c61bb2a17ccdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 23 Nov 2022 09:14:26 +0100 Subject: [PATCH] src: use qualified `std::move` call in node_http2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also iwyu in that file. Closes: https://github.com/nodejs/node/issues/45543 PR-URL: https://github.com/nodejs/node/pull/45555 Fixes: https://github.com/nodejs/node/issues/45543 Reviewed-By: Ben Noordhuis Reviewed-By: Anna Henningsen Reviewed-By: Tobias Nießen Reviewed-By: Rafael Gonzaga Reviewed-By: Richard Lau Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: Gerhard Stöbich Reviewed-By: Minwoo Jung Reviewed-By: Stephen Belanger --- src/node_http2.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/node_http2.cc b/src/node_http2.cc index 4ab485018c656b..d88e25da6c6776 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -14,6 +14,10 @@ #include "util-inl.h" #include +#include +#include +#include +#include namespace node { @@ -644,7 +648,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); });