X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffd-handle.cpp;h=8a0d95243bcdfebf4035da2981ff13cbaed454d9;hb=0114db0ec2407029052eb61a0189c9b1cd64d520;hp=579757782702f175315254b3003b001e1355bbae;hpb=3691d312bcf4dc2cc15f0ecb1f0e2fd2f34315b8;p=lttng-tools.git diff --git a/src/common/fd-handle.cpp b/src/common/fd-handle.cpp index 579757782..8a0d95243 100644 --- a/src/common/fd-handle.cpp +++ b/src/common/fd-handle.cpp @@ -19,7 +19,7 @@ struct fd_handle { static void fd_handle_release(struct urcu_ref *ref) { int ret; - struct fd_handle *handle = container_of(ref, struct fd_handle, ref); + struct fd_handle *handle = lttng::utils::container_of(ref, &fd_handle::ref); LTTNG_ASSERT(handle->fd >= 0); ret = close(handle->fd);