Skip to content

Commit

Permalink
fix(engine): fix warning about redundant std::move
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra authored and poiana committed Nov 11, 2022
1 parent d0ceba8 commit e3dbae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/engine/falco_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ std::unique_ptr<load_result> 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);
Expand Down

0 comments on commit e3dbae3

Please sign in to comment.