Replace assert() -> BT_ASSERT() and some preconditions with BT_ASSERT_PRE()
[babeltrace.git] / include / babeltrace / ctf-ir / field-path-internal.h
index a65ffe101c1d1650c50ba7f0411e8c405fa76e97..2f9611c8e8c30e4d9130a5c6e2105c8098332f89 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 #include <babeltrace/object-internal.h>
-#include <assert.h>
+#include <babeltrace/assert-internal.h>
 #include <glib.h>
 
 struct bt_field_path {
@@ -61,7 +61,7 @@ GString *bt_field_path_string(struct bt_field_path *path)
        GString *str = g_string_new(NULL);
        size_t i;
 
-       assert(path);
+       BT_ASSERT(path);
 
        if (!str) {
                goto end;
This page took 0.023757 seconds and 4 git commands to generate.