X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fdirectory-handle.cpp;h=cd4bf1769a739c189576716096304dea956aa70a;hp=904f59e9489af49604bde85195e23d0eefc79bde;hb=0114db0ec2407029052eb61a0189c9b1cd64d520;hpb=3691d312bcf4dc2cc15f0ecb1f0e2fd2f34315b8 diff --git a/src/common/compat/directory-handle.cpp b/src/common/compat/directory-handle.cpp index 904f59e94..cd4bf1769 100644 --- a/src/common/compat/directory-handle.cpp +++ b/src/common/compat/directory-handle.cpp @@ -176,7 +176,7 @@ void lttng_directory_handle_release(struct urcu_ref *ref) { int ret; struct lttng_directory_handle *handle = - container_of(ref, struct lttng_directory_handle, ref); + lttng::utils::container_of(ref, <tng_directory_handle::ref); if (handle->destroy_cb) { handle->destroy_cb(handle, handle->destroy_cb_data); @@ -557,7 +557,7 @@ static void lttng_directory_handle_release(struct urcu_ref *ref) { struct lttng_directory_handle *handle = - container_of(ref, struct lttng_directory_handle, ref); + lttng::utils::container_of(ref, <tng_directory_handle::ref); free(handle->base_path); lttng_directory_handle_invalidate(handle);