Skip to content

Commit c6b1be0

Browse files
mhdawsonrdw-msft
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: nodejs#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 7b0ba4f commit c6b1be0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node_contextify.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ void ContextifyContext::ContainsModuleSyntax(
14721472
ContextifyContext::CompileFunctionAndCacheResult(env,
14731473
context,
14741474
&source,
1475-
std::move(params),
1475+
params,
14761476
std::vector<Local<Object>>(),
14771477
options,
14781478
true,

0 commit comments

Comments
 (0)