src.ctf.lttng-live: make lttng_live_trace::stream_iterators an std::vector
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.hpp
index 2fd68425ff638878e8000c09a99e2610bca89521..d8a0f2a7de23c653c0d5f33c6748013bf84b9ee3 100644 (file)
@@ -198,9 +198,7 @@ struct lttng_live_trace
 
     const bt_clock_class *clock_class = nullptr;
 
-    /* Array of pointers to struct lttng_live_stream_iterator. */
-    /* Owned by this. */
-    GPtrArray *stream_iterators = nullptr;
+    std::vector<lttng_live_stream_iterator::UP> stream_iterators;
 
     enum lttng_live_metadata_stream_state metadata_stream_state =
         LTTNG_LIVE_METADATA_STREAM_STATE_NEEDED;
This page took 0.023847 seconds and 4 git commands to generate.