clang-tidy: apply suggested fixes
[lttng-tools.git] / src / common / conditions / buffer-usage.cpp
index c78528735063cb261a0f4830fb023131397cd496..692d605c963abc3986579355b9d894259d61ce80 100644 (file)
@@ -22,7 +22,7 @@
 
 static bool is_usage_evaluation(const struct lttng_evaluation *evaluation)
 {
-       enum lttng_condition_type type = lttng_evaluation_get_type(evaluation);
+       const lttng_condition_type type = lttng_evaluation_get_type(evaluation);
 
        return type == LTTNG_CONDITION_TYPE_BUFFER_USAGE_LOW ||
                type == LTTNG_CONDITION_TYPE_BUFFER_USAGE_HIGH;
This page took 0.02306 seconds and 4 git commands to generate.