clang-tidy: apply suggested fixes
[lttng-tools.git] / src / common / event-rule / event-rule.cpp
index 3e862b2464cd54e35ea4569b9103fc27971c2011..197d4b011d4c63ab829679c0253f6634059395a2 100644 (file)
@@ -283,7 +283,7 @@ struct lttng_event *lttng_event_rule_generate_lttng_event(const struct lttng_eve
 bool lttng_event_rule_targets_agent_domain(const struct lttng_event_rule *rule)
 {
        bool targets_agent_domain = false;
-       enum lttng_domain_type type = lttng_event_rule_get_domain_type(rule);
+       const lttng_domain_type type = lttng_event_rule_get_domain_type(rule);
 
        switch (type) {
        case LTTNG_DOMAIN_JUL:
This page took 0.024448 seconds and 4 git commands to generate.