src.ctf.lttng-live: make lttng_live_stream_iterator::buf an std::vector
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.hpp
index 8fa926b70d974e4601a5c3a0fe65fdcdf267f58c..8e1bb356c8124f403aa232c909b3d23c871e0825 100644 (file)
@@ -127,9 +127,7 @@ struct lttng_live_stream_iterator
     /* Timestamp in nanoseconds of the current message (current_msg). */
     int64_t current_msg_ts_ns = 0;
 
-    /* Owned by this. */
-    uint8_t *buf = nullptr;
-    size_t buflen = 0;
+    std::vector<uint8_t> buf;
 
     /* Owned by this. */
     GString *name = nullptr;
This page took 0.0239 seconds and 4 git commands to generate.