Skip to content

Commit

Permalink
Avoid reusing the same naming as std
Browse files Browse the repository at this point in the history
  • Loading branch information
cguimaraes authored Nov 21, 2023
1 parent 244715f commit 177172c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/zenoh-pico/collections/pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
_z_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); \
Expand Down

0 comments on commit 177172c

Please sign in to comment.