lib: rename include dir to babeltrace2
[babeltrace.git] / lib / ctf-writer / visitor.c
index e416e7be1a7c84606774808524b4157329741933..707cc7a88dac7908585165f792a7cb80716d5aa4 100644 (file)
@@ -26,8 +26,8 @@
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/visitor-internal.h>
-#include <babeltrace/object.h>
+#include <babeltrace2/ctf-writer/visitor-internal.h>
+#include <babeltrace2/ctf-writer/object.h>
 
 BT_HIDDEN
 int bt_ctf_visitor_helper(struct bt_ctf_visitor_object *root,
@@ -59,7 +59,7 @@ int bt_ctf_visitor_helper(struct bt_ctf_visitor_object *root,
                        goto end;
                }
                ret = child_visitor(child, visitor, data);
-               BT_OBJECT_PUT_REF_AND_RESET(child);
+               BT_CTF_OBJECT_PUT_REF_AND_RESET(child);
                if (ret) {
                        goto end;
                }
This page took 0.024316 seconds and 4 git commands to generate.