Skip to content

Commit 2449d26

Browse files
mhdawsonmarco-ippolito
authored andcommitted
src: fix move after use reported by coverity
- 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]>
1 parent dd1f761 commit 2449d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_contextify.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ void ContextifyContext::ContainsModuleSyntax(
14891489
ContextifyContext::CompileFunctionAndCacheResult(env,
14901490
context,
14911491
&source,
1492-
std::move(params),
1492+
params,
14931493
std::vector<Local<Object>>(),
14941494
options,
14951495
true,

0 commit comments

Comments
 (0)