lib: make trace IR API const-correct
[babeltrace.git] / plugins / ctf / lttng-live / metadata.c
index 93b8adda0df60023a315a6c39fb71ad11d02a592..4cfd88301572e7de05cc1f8b7177443040e642f1 100644 (file)
@@ -72,7 +72,7 @@ enum bt_lttng_live_iterator_status lttng_live_update_clock_map(
        BT_ASSERT(count >= 0);
 
        for (i = 0; i < count; i++) {
-               struct bt_clock_class *clock_class =
+               const struct bt_clock_class *clock_class =
                        bt_trace_get_clock_class_by_index(trace->trace, i);
 
                BT_ASSERT(clock_class);
This page took 0.023116 seconds and 4 git commands to generate.