Rename: "field class ID" -> "field class type"
[babeltrace.git] / lib / trace-ir / trace.c
index 9b338667a3629707b5b4d3d96246c677a6ad3434..9d70548265403fdf2559fa314577ccda8c9f2731 100644 (file)
@@ -454,8 +454,8 @@ int bt_trace_set_packet_header_field_class(struct bt_trace *trace,
        BT_ASSERT_PRE_NON_NULL(trace, "Trace");
        BT_ASSERT_PRE_NON_NULL(field_class, "Field class");
        BT_ASSERT_PRE_TRACE_HOT(trace);
-       BT_ASSERT_PRE(bt_field_class_get_id(field_class) ==
-               BT_FIELD_CLASS_ID_STRUCTURE,
+       BT_ASSERT_PRE(bt_field_class_get_type(field_class) ==
+               BT_FIELD_CLASS_TYPE_STRUCTURE,
                "Packet header field classe is not a structure field classe: %!+F",
                field_class);
        ret = bt_resolve_field_paths(field_class, &resolve_ctx);
This page took 0.023973 seconds and 4 git commands to generate.