fix(macOS): build (#8)

This commit is contained in:
Francesco Borzì
2021-11-12 13:30:10 +01:00
committed by GitHub
parent df8b3efbbe
commit e532a802e8

View File

@@ -193,7 +193,7 @@ public:
size_t capacity() const noexcept { return capacity_ - 1; }
private:
#ifdef __cpp_lib_hardware_interference_size
#if defined(__cpp_lib_hardware_interference_size) && !defined(__APPLE__)
static constexpr size_t kCacheLineSize =
std::hardware_destructive_interference_size;
#else