src.ctf.fs: make ctf_fs_file_create return a unique_ptr
[babeltrace.git] / src / plugins / ctf / fs-src / fs.cpp
index ac4c720c816ef37f7bed3ee552f6b746572df7b8..8bdc1e0c323310e7b73f667cbcdbbade39494d56 100644 (file)
@@ -684,7 +684,7 @@ static int create_ds_file_groups(struct ctf_fs_trace *ctf_fs_trace)
         }
 
         /* Create the file. */
-        file = ctf_fs_file_create(ctf_fs_trace->logger);
+        file = ctf_fs_file_create(ctf_fs_trace->logger).release();
         if (!file) {
             BT_CPPLOGE_APPEND_CAUSE_SPEC(
                 ctf_fs_trace->logger,
This page took 0.025921 seconds and 4 git commands to generate.