Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / ctf-writer / event.h
index 0bfbb007a24c7f2b7938810751f8d74772312b14..ae6692d137491d50486ba93ea22159cf0d90c317 100644 (file)
 
 #include "common/assert.h"
 #include "common/macros.h"
-#include <babeltrace2/ctf-writer/field-types.h>
-#include <babeltrace2/ctf-writer/fields.h>
-#include <babeltrace2/ctf-writer/stream-class.h>
-#include <babeltrace2/ctf-writer/stream.h>
+#include <babeltrace2-ctf-writer/field-types.h>
+#include <babeltrace2-ctf-writer/fields.h>
+#include <babeltrace2-ctf-writer/stream-class.h>
+#include <babeltrace2-ctf-writer/stream.h>
 #include "ctfser/ctfser.h"
 
 #include "assert-pre.h"
@@ -82,7 +82,7 @@ static inline
 struct bt_ctf_event_class_common *bt_ctf_event_common_borrow_class(
                struct bt_ctf_event_common *event)
 {
-       BT_ASSERT(event);
+       BT_ASSERT_DBG(event);
        return event->class;
 }
 
This page took 0.023498 seconds and 4 git commands to generate.