Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / lib / trace-ir / stream.h
index 23f69c274d742e5329b51348eb8a5636dc47e1c4..f021ef29dba7839d1e6dc55999ca8b7cd359d23a 100644 (file)
@@ -29,6 +29,7 @@
 #include "lib/object-pool.h"
 #include "common/macros.h"
 #include <glib.h>
+#include <stdbool.h>
 
 #include "utils.h"
 
@@ -71,7 +72,7 @@ void _bt_stream_freeze(const struct bt_stream *stream);
 static inline
 struct bt_trace *bt_stream_borrow_trace_inline(const struct bt_stream *stream)
 {
-       BT_ASSERT(stream);
+       BT_ASSERT_DBG(stream);
        return (void *) bt_object_borrow_parent(&stream->base);
 }
 
This page took 0.024558 seconds and 4 git commands to generate.