src.ctf.fs: make ctf_fs_file::fp a FileUP
[babeltrace.git] / src / plugins / ctf / fs-src / file.hpp
index 607c1a944e28f4a207887968b9b61a914bdad2db..33fa10d882f6fb4909acb9091c59ae8cefb6231a 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <babeltrace2/babeltrace.h>
 
+#include "cpp-common/bt2c/libc-up.hpp"
 #include "cpp-common/bt2c/logging.hpp"
 
 struct ctf_fs_file_deleter
@@ -32,8 +33,7 @@ struct ctf_fs_file
     /* Owned by this */
     GString *path = nullptr;
 
-    /* Owned by this */
-    FILE *fp = nullptr;
+    bt2c::FileUP fp;
 
     off_t size = 0;
 };
This page took 0.0238 seconds and 4 git commands to generate.