Skip to content

Commit 0431922

Browse files
committed
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 d1d5da2 commit 0431922

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