From bab251ac3f7e0df3aae4375fb1c4a21ef2479067 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 9f28c80e..5fe863e6 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);