Skip to content

Commit 128c9f6

Browse files
targosruyadorno
authored andcommitted
src: use qualified std::move call in node_http2
Also iwyu in that file. Closes: #45543 PR-URL: #45555 Fixes: #45543 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
1 parent 015842f commit 128c9f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/node_http2.cc

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
#include "util-inl.h"
1515

1616
#include <algorithm>
17+
#include <memory>
18+
#include <string>
19+
#include <utility>
20+
#include <vector>
1721

1822
namespace node {
1923

@@ -644,7 +648,7 @@ void Http2Stream::EmitStatistics() {
644648
duration,
645649
statistics_);
646650

647-
env()->SetImmediate([entry = move(entry)](Environment* env) {
651+
env()->SetImmediate([entry = std::move(entry)](Environment* env) {
648652
if (HasHttp2Observer(env))
649653
entry->Notify(env);
650654
});

0 commit comments

Comments
 (0)