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