src.ctf.lttng-live: introduce lttng_live_component::UP and use it
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.hpp
index 610defd91e7a5fb345e79ee9f6a8de62c27e9f59..8dbd804fcfe120d0645f1994e18ff28fea710753 100644 (file)
@@ -249,6 +249,8 @@ enum session_not_found_action
  */
 struct lttng_live_component
 {
+    using UP = std::unique_ptr<lttng_live_component>;
+
     explicit lttng_live_component(bt2c::Logger loggerParam) noexcept :
         logger {std::move(loggerParam)}
     {
@@ -261,7 +263,7 @@ struct lttng_live_component
 
     struct
     {
-        GString *url = nullptr;
+        std::string url;
         enum session_not_found_action sess_not_found_act = SESSION_NOT_FOUND_ACTION_CONTINUE;
     } params;
 
This page took 0.023815 seconds and 4 git commands to generate.