src.ctf.lttng-live: make lttng_live_trace::trace a bt2::Trace::Shared
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.hpp
index d6c01ad3e88fa29d9da42fc8a68d33c7140f331b..610defd91e7a5fb345e79ee9f6a8de62c27e9f59 100644 (file)
@@ -190,8 +190,7 @@ struct lttng_live_trace
     /* ctf trace ID within the session. */
     uint64_t id = 0;
 
-    /* Owned by this. */
-    bt_trace *trace = nullptr;
+    bt2::Trace::Shared trace;
 
     bt2::TraceClass::Shared trace_class;
 
This page took 0.023464 seconds and 4 git commands to generate.