projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: replace container_of with a C++ safe implementation
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.cpp
diff --git
a/src/bin/lttng-relayd/main.cpp
b/src/bin/lttng-relayd/main.cpp
index e1c74e358ebff36c9426cba3c2cc82a1ece4b3c8..41c5e1d4419d740b452528410b2345156717cfbe 100644
(file)
--- a/
src/bin/lttng-relayd/main.cpp
+++ b/
src/bin/lttng-relayd/main.cpp
@@
-1329,7
+1329,7
@@
static void *relay_thread_dispatcher(void *data __attribute__((unused)))
/* 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);
This page took
0.026023 seconds
and
4
git commands to generate.