From 432bd7a09d28af5db09c6ad9ec1ed9e8a76d5ae6 Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Wed, 16 Jul 2025 18:08:22 +0200 Subject: [PATCH] refactor(userspace/engine): make constructor explicit Signed-off-by: Samuel Gaist --- userspace/engine/indexable_ruleset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/indexable_ruleset.h b/userspace/engine/indexable_ruleset.h index 4da90e07..f02d3938 100644 --- a/userspace/engine/indexable_ruleset.h +++ b/userspace/engine/indexable_ruleset.h @@ -229,7 +229,7 @@ private: // A group of filters all having the same ruleset class ruleset_filters { public: - ruleset_filters(uint16_t ruleset_id): m_ruleset_id(ruleset_id) {} + explicit ruleset_filters(uint16_t ruleset_id): m_ruleset_id(ruleset_id) {} virtual ~ruleset_filters() {};