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
/
live.cpp
diff --git
a/src/bin/lttng-relayd/live.cpp
b/src/bin/lttng-relayd/live.cpp
index ef830d4ba0d4daa7a391f5c6d6e06753fad0bb78..abbec8c20e89e02253a0dce83a38a138909b9dff 100644
(file)
--- a/
src/bin/lttng-relayd/live.cpp
+++ b/
src/bin/lttng-relayd/live.cpp
@@
-970,7
+970,7
@@
void *thread_dispatcher(void *data __attribute__((unused)))
/* Continue thread execution */
break;
}
/* 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);
DBG("Dispatching viewer request waiting on sock %d",
conn->sock->fd);
This page took
0.026202 seconds
and
4
git commands to generate.