X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fgraph%2Fnotification-event-internal.h;h=5447a9a0433d26ee9a7e3d0d32dd85ff1a7c867b;hb=f6ccaed94e575af57fe6bf38154771bee4871a2a;hp=bfc209296186b3a8fe74bf22a039e25c8c9e63f6;hpb=464ebc311d460b29f681703aea0aa00eef9e6475;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-event-internal.h b/include/babeltrace/graph/notification-event-internal.h index bfc20929..5447a9a0 100644 --- a/include/babeltrace/graph/notification-event-internal.h +++ b/include/babeltrace/graph/notification-event-internal.h @@ -31,6 +31,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" { @@ -49,7 +50,7 @@ struct bt_event *bt_notification_event_borrow_event( struct bt_notification_event *notif_event = container_of(notif, struct bt_notification_event, parent); - assert(notif_event); + BT_ASSERT(notif_event); return notif_event->event; } @@ -61,7 +62,7 @@ bt_notification_event_borrow_clock_class_priority_map( struct bt_notification_event *notif_event = container_of(notif, struct bt_notification_event, parent); - assert(notif_event); + BT_ASSERT(notif_event); return notif_event->cc_prio_map; }