Skip to content

Commit

Permalink
Remove 'using namespace std' statement. Fixes #276
Browse files Browse the repository at this point in the history
  • Loading branch information
cguimaraes committed Nov 17, 2023
1 parent b5483d7 commit 16fe547
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/zenoh-pico/collections/pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
#else
#include <atomic>
#define z_atomic(X) std::atomic<X>
using namespace std;
#define atomic_store_explicit std::atomic_store_explicit
#define atomic_fetch_add_explicit std::atomic_fetch_add_explicit
#define atomic_fetch_sub_explicit std::atomic_fetch_sub_explicit
#define memory_order_acquire std::memory_order_acquire
#define memory_order_release std::memory_order_release
#define memory_order_relaxed std::memory_order_relaxed
#endif

/*------------------ Internal Array Macros ------------------*/
Expand Down

0 comments on commit 16fe547

Please sign in to comment.