Skip to content

Commit

Permalink
src: fix move after use reported by coverity
Browse files Browse the repository at this point in the history
- Fix move after use reported by coverity in
  node_contextify.cc

Signed-off-by: Michael Dawson <midawson@redhat.com>
PR-URL: #52141
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
mhdawson committed Mar 22, 2024
1 parent d1d5da2 commit 0431922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_contextify.cc
Expand Up @@ -1472,7 +1472,7 @@ void ContextifyContext::ContainsModuleSyntax(
ContextifyContext::CompileFunctionAndCacheResult(env,
context,
&source,
std::move(params),
params,
std::vector<Local<Object>>(),
options,
true,
Expand Down

0 comments on commit 0431922

Please sign in to comment.