From e3dbae325935dd2ddec5edb750ee8dfda0b785d6 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Fri, 11 Nov 2022 11:00:31 +0000 Subject: [PATCH] fix(engine): fix warning about redundant std::move Signed-off-by: Luca Guerra --- userspace/engine/falco_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/falco_engine.cpp b/userspace/engine/falco_engine.cpp index af62371d..4003c437 100644 --- a/userspace/engine/falco_engine.cpp +++ b/userspace/engine/falco_engine.cpp @@ -237,7 +237,7 @@ std::unique_ptr falco_engine::load_rules_file(const string &rules_f res->add_error(load_result::LOAD_ERR_FILE_READ, e.what(), ctx); - return std::move(res); + return res; } return load_rules(rules_content, rules_filename);