src.ctf.fs: make ctf_fs_ds_file_info::path an std::string
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.hpp
index 8f770705367a52b59fd6c26e0546bb71e1749e68..6b5c3db71efb0ca4715c42e345a0bbc69703b2bb 100644 (file)
@@ -8,6 +8,7 @@
 #define CTF_FS_DS_FILE_H
 
 #include <memory>
+#include <string>
 
 #include <glib.h>
 #include <stdio.h>
@@ -21,8 +22,7 @@
 
 struct ctf_fs_ds_file_info
 {
-    /* Owned by this. */
-    GString *path = nullptr;
+    std::string path;
 
     /* Guaranteed to be set, as opposed to the index. */
     int64_t begin_ns = 0;
This page took 0.023981 seconds and 4 git commands to generate.