lib: save and restore current thread error when calling destruction listeners and...
[babeltrace.git] / src / lib / trace-ir / resolve-field-path.c
index 4b08bbe8f5a191a4e3b31367be7be6e45a3daa09..9e8e4729ae88d6ee8f2b55e22cf7db491bcd7a0f 100644 (file)
@@ -27,6 +27,7 @@
 #include "common/assert.h"
 #include <babeltrace2/trace-ir/field-path-const.h>
 #include <limits.h>
+#include <stdbool.h>
 #include <stdint.h>
 #include <inttypes.h>
 #include <glib.h>
@@ -229,7 +230,7 @@ struct bt_field_class *borrow_root_field_class(
        case BT_FIELD_PATH_SCOPE_EVENT_PAYLOAD:
                return ctx->event_payload;
        default:
-               abort();
+               bt_common_abort();
        }
 
        return NULL;
This page took 0.044491 seconds and 4 git commands to generate.