src.ctf.fs: make ctf_fs_ds_file::file a ctf_fs_file::UP
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.hpp
index bdbf477d88c278d3ac25e5fc354cc8607d798612..a1226474fc71a8ab798695f4b548cf512d6d2c6d 100644 (file)
@@ -21,6 +21,7 @@
 #include "cpp-common/bt2c/logging.hpp"
 
 #include "../common/src/msg-iter/msg-iter.hpp"
+#include "file.hpp"
 
 struct ctf_fs_ds_file_info
 {
@@ -44,8 +45,7 @@ struct ctf_fs_ds_file
     /* Weak */
     struct ctf_fs_metadata *metadata = nullptr;
 
-    /* Owned by this */
-    struct ctf_fs_file *file = nullptr;
+    ctf_fs_file::UP file;
 
     bt2::Stream::Shared stream;
 
This page took 0.023404 seconds and 4 git commands to generate.