common: replace container_of with a C++ safe implementation
[lttng-tools.git] / src / common / actions / action.cpp
index 74dec1247468324df9c42d57ccff7567a740c697..bc9e3580a769632f6f09000eb05318d84501bc24 100644 (file)
@@ -73,7 +73,7 @@ static
 void action_destroy_ref(struct urcu_ref *ref)
 {
        struct lttng_action *action =
-                       container_of(ref, struct lttng_action, ref);
+                       lttng::utils::container_of(ref, &lttng_action::ref);
 
        action->destroy(action);
 }
This page took 0.022839 seconds and 4 git commands to generate.