Skip to content

Unqualified call to std::move in node_http2.cc #45543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
targos opened this issue Nov 20, 2022 · 2 comments · Fixed by #45555
Closed

Unqualified call to std::move in node_http2.cc #45543

targos opened this issue Nov 20, 2022 · 2 comments · Fixed by #45555
Labels
build Issues and PRs related to build files or the CI.

Comments

@targos
Copy link
Member

targos commented Nov 20, 2022

Warning (from clang-cl on Windows) that I don't know how to fix:

src\node_http2.cc(647,32): warning : unqualified call to 'std::move' [-Wunqualified-std-cast-call] [D:\Git\nodejs\node\libnode.vcxproj]

node/src/node_http2.cc

Lines 647 to 650 in 4bee69a

env()->SetImmediate([entry = move(entry)](Environment* env) {
if (HasHttp2Observer(env))
entry->Notify(env);
});

@targos targos added the build Issues and PRs related to build files or the CI. label Nov 20, 2022
@bnoordhuis
Copy link
Member

Just write as entry = std::move(entry)? Or doesn't that fix it?

targos added a commit to targos/node that referenced this issue Nov 21, 2022
@targos
Copy link
Member Author

targos commented Nov 21, 2022

Probably, thanks. #45555

nodejs-github-bot pushed a commit that referenced this issue Nov 23, 2022
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]>
marco-ippolito pushed a commit to marco-ippolito/node that referenced this issue Nov 23, 2022
Also iwyu in that file.

Closes: nodejs#45543
PR-URL: nodejs#45555
Fixes: nodejs#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]>
ruyadorno pushed a commit that referenced this issue Nov 24, 2022
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]>
danielleadams pushed a commit that referenced this issue Dec 30, 2022
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]>
danielleadams pushed a commit that referenced this issue Dec 30, 2022
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]>
danielleadams pushed a commit that referenced this issue Jan 3, 2023
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]>
danielleadams pushed a commit that referenced this issue Jan 4, 2023
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]>
danielleadams pushed a commit that referenced this issue Jan 5, 2023
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants