X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fstop-session.cpp;h=08a6665dd0c196b63dbe3ee255f8037cf872027c;hb=0114db0ec2407029052eb61a0189c9b1cd64d520;hp=d395c66d64e11eea2a3e85ad0f7b7e0901c95c10;hpb=3691d312bcf4dc2cc15f0ecb1f0e2fd2f34315b8;p=lttng-tools.git diff --git a/src/common/actions/stop-session.cpp b/src/common/actions/stop-session.cpp index d395c66d6..08a6665dd 100644 --- a/src/common/actions/stop-session.cpp +++ b/src/common/actions/stop-session.cpp @@ -49,7 +49,7 @@ static struct lttng_action_stop_session *action_stop_session_from_action( { LTTNG_ASSERT(action); - return container_of(action, struct lttng_action_stop_session, parent); + return lttng::utils::container_of(action, <tng_action_stop_session::parent); } static const struct lttng_action_stop_session * @@ -57,7 +57,7 @@ action_stop_session_from_action_const(const struct lttng_action *action) { LTTNG_ASSERT(action); - return container_of(action, struct lttng_action_stop_session, parent); + return lttng::utils::container_of(action, <tng_action_stop_session::parent); } static bool lttng_action_stop_session_validate(struct lttng_action *action)