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
/
actions
/
action.cpp
diff --git
a/src/common/actions/action.cpp
b/src/common/actions/action.cpp
index 74dec1247468324df9c42d57ccff7567a740c697..bc9e3580a769632f6f09000eb05318d84501bc24 100644
(file)
--- a/
src/common/actions/action.cpp
+++ b/
src/common/actions/action.cpp
@@
-73,7
+73,7
@@
static
void action_destroy_ref(struct urcu_ref *ref)
{
struct lttng_action *action =
void action_destroy_ref(struct urcu_ref *ref)
{
struct lttng_action *action =
-
container_of(ref, struct lttng_action,
ref);
+
lttng::utils::container_of(ref, <tng_action::
ref);
action->destroy(action);
}
action->destroy(action);
}
This page took
0.023851 seconds
and
4
git commands to generate.