Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / lib / graph / component.h
index c993ce6914df7a01c72f6a74d4553b43d30dea6c..531bd63a34715e4c5b35935e42d10d9d31100a34 100644 (file)
@@ -32,6 +32,7 @@
 #include <babeltrace2/logging.h>
 #include "common/assert.h"
 #include <glib.h>
+#include <stdbool.h>
 #include <stdio.h>
 
 #include "component-class.h"
@@ -75,7 +76,7 @@ struct bt_component {
 static inline
 struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
 {
-       BT_ASSERT(comp);
+       BT_ASSERT_DBG(comp);
        return (void *) bt_object_borrow_parent(&comp->base);
 }
 
This page took 0.024432 seconds and 4 git commands to generate.