src.ctf.fs: make ctf_fs_trace::path an std::string
[babeltrace.git] / src / plugins / ctf / fs-src / query.cpp
index 2a6057db0ced589898d833b5212bf2bcb8c07328..9245ce38dabadb2b7f039ac7676961aa987d78d5 100644 (file)
@@ -158,8 +158,8 @@ static void populate_trace_info(const struct ctf_fs_trace *trace, const bt2::Map
 {
     /* Add trace range info only if it contains streams. */
     if (trace->ds_file_groups.empty()) {
-        BT_CPPLOGE_APPEND_CAUSE_AND_THROW_SPEC(
-            logger, bt2::Error, "Trace has no streams: trace-path={}", trace->path->str);
+        BT_CPPLOGE_APPEND_CAUSE_AND_THROW_SPEC(logger, bt2::Error,
+                                               "Trace has no streams: trace-path={}", trace->path);
     }
 
     const auto fileGroups = traceInfo.insertEmptyArray("stream-infos");
This page took 0.022899 seconds and 4 git commands to generate.