sessiond: propagate the use of ltt_session::locked_ref
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.cpp
index 13c18325d75d363e5da76674734b4e3aedcd0c07..9e7e0536325eb2a398b4f374ecf0d6c695a0598e 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #define _LGPL_SOURCE
+#include "consumer-output.hpp"
 #include "consumer.hpp"
 #include "health-sessiond.hpp"
 #include "lttng-sessiond.hpp"
@@ -674,7 +675,7 @@ error:
  * Return 0 on success. Return 1 if the URI were equal. Else, negative value on
  * error.
  */
-int consumer_set_network_uri(const struct ltt_session *session,
+int consumer_set_network_uri(const ltt_session::locked_ref& session,
                             struct consumer_output *output,
                             struct lttng_uri *uri)
 {
This page took 0.022637 seconds and 4 git commands to generate.