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 <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>
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

+1-1
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)