src.ctf.fs: make ctf_fs_ds_file_info_create return a unique_ptr
[babeltrace.git] / src / plugins / ctf / fs-src / fs.cpp
index 40ef74397f573842700c72fde73cd59c1a8636b6..8bc130b13dda3a84d267cc36cffe5961017d265c 100644 (file)
@@ -601,7 +601,7 @@ static int add_ds_file_to_ds_file_group(struct ctf_fs_trace *ctf_fs_trace, const
         }
     }
 
-    ds_file_info = ctf_fs_ds_file_info_create(path, begin_ns);
+    ds_file_info = ctf_fs_ds_file_info_create(path, begin_ns).release();
     if (!ds_file_info) {
         goto error;
     }
This page took 0.028665 seconds and 4 git commands to generate.