src.ctf.lttng-live: make lttng_live_session::{hostname,session_name} std::strings
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.hpp
index e2b037cb1d4da9259703264b8d4dd8e42da97533..8e1312b5fed4dc937872e5b60c62251d7436bc21 100644 (file)
@@ -220,11 +220,9 @@ struct lttng_live_session
     /* Weak reference. */
     struct lttng_live_msg_iter *lttng_live_msg_iter = nullptr;
 
-    /* Owned by this. */
-    GString *hostname = nullptr;
+    std::string hostname;
 
-    /* Owned by this. */
-    GString *session_name = nullptr;
+    std::string session_name;
 
     uint64_t id = 0;
 
This page took 0.0246 seconds and 4 git commands to generate.