Commit 05c7882c authored by Peter Bell's avatar Peter Bell
Browse files

Fix feature detection macro for hardware_destructive_interference_size

parent d984e0fb
......@@ -611,7 +611,7 @@ template <typename T> struct aligned_allocator
class thread_pool
{
#if __cplusplus >= 201703L
#if __cpp_lib_hardware_interference_size >= 201603L
struct alignas(std::hardware_destructive_interference_size) worker
#else
struct alignas(64) worker
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment