From c6b1be01377be73a2433f8ec2f3a633965f75d0b Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 18 Mar 2024 20:04:29 +0000 Subject: [PATCH] src: fix move after use reported by coverity - Fix move after use reported by coverity in node_contextify.cc Signed-off-by: Michael Dawson PR-URL: https://github.com/nodejs/node/pull/52141 Reviewed-By: Yagiz Nizipli Reviewed-By: Geoffrey Booth Reviewed-By: Chengzhong Wu Reviewed-By: Luigi Pinca --- src/node_contextify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 1bc99765ba9f6e8..0f94ea501cea64d 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -1472,7 +1472,7 @@ void ContextifyContext::ContainsModuleSyntax( ContextifyContext::CompileFunctionAndCacheResult(env, context, &source, - std::move(params), + params, std::vector>(), options, true,