Skip to content

Commit

Permalink
fix: pessimizing move warning
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Aponte <federico.aponte@sysdig.com>
  • Loading branch information
federico-sysdig authored and poiana committed Feb 26, 2024
1 parent 59c14f4 commit 4d66a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/engine/rule_loader_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ bool rule_loader::compiler::compile_condition(
sinsp_filter_compiler compiler(filter_factory, ast_out.get());
try
{
filter_out = std::move(compiler.compile());
filter_out = compiler.compile();
}
catch(const sinsp_exception& e)
{
Expand Down

0 comments on commit 4d66a50

Please sign in to comment.