fix(c++): improve const correctness

Reported by cppcheck

Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
Samuel Gaist
2024-02-13 23:07:38 +01:00
committed by poiana
parent 792bcdca18
commit 5e497a4119
37 changed files with 92 additions and 92 deletions

View File

@@ -30,7 +30,7 @@ public:
virtual ~falco_formats();
std::string format_event(sinsp_evt *evt, const std::string &rule, const std::string &source,
const std::string &level, const std::string &format, std::set<std::string> &tags,
const std::string &level, const std::string &format, const std::set<std::string> &tags,
const std::string &hostname) const;
std::map<std::string, std::string> get_field_values(sinsp_evt *evt, const std::string &source,