2
0
mirror of https://github.com/boostorg/sync.git synced 2026-01-19 04:42:12 +00:00

Use more fine-grained includes from Boost.Atomic.

This avoids including headers with IPC atomics, which are not used in
Boost.Sync.
This commit is contained in:
Andrey Semashev
2025-08-27 18:10:19 +03:00
parent f26e448703
commit 0eb9dc689a

View File

@@ -39,7 +39,10 @@
#ifdef BOOST_SYNC_USE_STD_ATOMIC
#include <atomic>
#else
#include <boost/atomic.hpp>
#include <boost/memory_order.hpp>
#include <boost/atomic/atomic.hpp>
#include <boost/atomic/atomic_flag.hpp>
#include <boost/atomic/fences.hpp>
#endif
#include <boost/sync/detail/header.hpp>