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
/
common
/
conditions
/
condition.cpp
diff --git
a/src/common/conditions/condition.cpp
b/src/common/conditions/condition.cpp
index 525932eb2f06d43dcbf183e2239a8a7ed7dbe641..1efab164d8c39610b509c32a1e898cf041836623 100644
(file)
--- a/
src/common/conditions/condition.cpp
+++ b/
src/common/conditions/condition.cpp
@@
-32,7
+32,7
@@
void lttng_condition_destroy(struct lttng_condition *condition)
static void condition_destroy_ref(struct urcu_ref *ref)
{
struct lttng_condition *condition =
-
container_of(ref, struct lttng_condition,
ref);
+
lttng::utils::container_of(ref, <tng_condition::
ref);
condition->destroy(condition);
}
This page took
0.024624 seconds
and
4
git commands to generate.