X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flocation.cpp;h=b09430d617e408f76a88c041bc6fc1d5f96c8cf4;hb=e35e95ea77196e8997a02eda4bb8c1c5c6cba0fb;hp=65c0412402a42d2dca6a4f99727293f88c58795f;hpb=64803277bbdbe0a943360d918298a48157d9da55;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: