From a4cc939ab3b2fafc3f317a778ec8aff83e8e7c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Guimar=C3=A3es?= Date: Tue, 21 Nov 2023 17:54:16 +0100 Subject: [PATCH] Fix clang format --- include/zenoh-pico/collections/pointer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zenoh-pico/collections/pointer.h b/include/zenoh-pico/collections/pointer.h index fecbbb412..8e1fd54e0 100644 --- a/include/zenoh-pico/collections/pointer.h +++ b/include/zenoh-pico/collections/pointer.h @@ -64,7 +64,7 @@ name##_sptr_t c; \ c._cnt = p->_cnt; \ c.ptr = p->ptr; \ - _z_atomic_fetch_add_explicit(p->_cnt, 1, _z_memory_order_relaxed); \ + _z_atomic_fetch_add_explicit(p->_cnt, 1, _z_memory_order_relaxed); \ return c; \ } \ static inline name##_sptr_t *name##_sptr_clone_as_ptr(name##_sptr_t *p) { \ @@ -85,7 +85,7 @@ unsigned int c = _z_atomic_fetch_sub_explicit(p->_cnt, 1, _z_memory_order_release); \ dropped = c == 1; \ if (dropped == true) { \ - atomic_thread_fence(_z_memory_order_acquire); \ + atomic_thread_fence(_z_memory_order_acquire); \ if (p->ptr != NULL) { \ type##_clear(p->ptr); \ z_free(p->ptr); \