lib: remove useless checks, make functions inline on fast path
[babeltrace.git] / lib / ctf-writer / stream.c
index 5ed1ebafaaac0c8f3467a7ef386ce576dc976e29..4145a0caa7d03e498f2d54209d1525d33e238746 100644 (file)
@@ -1373,7 +1373,7 @@ int bt_ctf_stream_append_event(struct bt_ctf_stream *stream,
 
        /* Save the new event and freeze it */
        BT_LOGV_STR("Freezing the event to append.");
-       bt_event_common_freeze(BT_TO_COMMON(event));
+       bt_event_common_set_is_frozen(BT_TO_COMMON(event), true);
        g_ptr_array_add(stream->events, event);
 
        /*
This page took 0.023217 seconds and 4 git commands to generate.