mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-06 08:43:40 +00:00
fix: pessimizing move warning
Signed-off-by: Federico Aponte <federico.aponte@sysdig.com>
This commit is contained in:
parent
59c14f46a2
commit
4d66a50d5b
@ -439,7 +439,7 @@ bool rule_loader::compiler::compile_condition(
|
|||||||
sinsp_filter_compiler compiler(filter_factory, ast_out.get());
|
sinsp_filter_compiler compiler(filter_factory, ast_out.get());
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
filter_out = std::move(compiler.compile());
|
filter_out = compiler.compile();
|
||||||
}
|
}
|
||||||
catch(const sinsp_exception& e)
|
catch(const sinsp_exception& e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user