X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Flocation.cpp;h=b09430d617e408f76a88c041bc6fc1d5f96c8cf4;hb=0114db0ec2407029052eb61a0189c9b1cd64d520;hp=65c0412402a42d2dca6a4f99727293f88c58795f;hpb=3691d312bcf4dc2cc15f0ecb1f0e2fd2f34315b8;p=lttng-tools.git diff --git a/src/common/location.cpp b/src/common/location.cpp index 65c041240..b09430d61 100644 --- a/src/common/location.cpp +++ b/src/common/location.cpp @@ -31,7 +31,7 @@ static void trace_archive_location_destroy_ref(struct urcu_ref *ref) { struct lttng_trace_archive_location *location = - container_of(ref, struct lttng_trace_archive_location, ref); + lttng::utils::container_of(ref, <tng_trace_archive_location::ref); switch (location->type) { case LTTNG_TRACE_ARCHIVE_LOCATION_TYPE_LOCAL: