common: replace container_of with a C++ safe implementation
[lttng-tools.git] / src / bin / lttng-relayd / live.cpp
index ef830d4ba0d4daa7a391f5c6d6e06753fad0bb78..abbec8c20e89e02253a0dce83a38a138909b9dff 100644 (file)
@@ -970,7 +970,7 @@ void *thread_dispatcher(void *data __attribute__((unused)))
                                /* Continue thread execution */
                                break;
                        }
-                       conn = caa_container_of(node, struct relay_connection, qnode);
+                       conn = lttng::utils::container_of(node, &relay_connection::qnode);
                        DBG("Dispatching viewer request waiting on sock %d",
                                        conn->sock->fd);
 
This page took 0.024023 seconds and 4 git commands to generate.