Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / stream.h
index ff6f8a823f13a8b71275fa27fd2ae19ba8a65177..7cf0e620a20d005834e3f36017316c28cecba9aa 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "common/assert.h"
 #include "common/macros.h"
-#include <babeltrace2/ctf-writer/stream.h>
+#include <babeltrace2-ctf-writer/stream.h>
 #include "ctfser/ctfser.h"
 #include <stdint.h>
 
@@ -61,7 +61,7 @@ static inline
 struct bt_ctf_stream_class_common *bt_ctf_stream_common_borrow_class(
                struct bt_ctf_stream_common *stream)
 {
-       BT_ASSERT(stream);
+       BT_ASSERT_DBG(stream);
        return stream->stream_class;
 }
 
This page took 0.022757 seconds and 4 git commands to generate.