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 <[email protected]>
PR-URL: #52141
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
mhdawson authored and marco-ippolito committed May 3, 2024
1 parent dd1f761 commit 2449d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_contextify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,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 2449d26

Please sign in to comment.