diff --git a/include/rigtorp/SPSCQueue.h b/include/rigtorp/SPSCQueue.h index 3fb55fb..0693ace 100644 --- a/include/rigtorp/SPSCQueue.h +++ b/include/rigtorp/SPSCQueue.h @@ -233,9 +233,5 @@ template > class SPSCQueue { alignas(kCacheLineSize) size_t readIdxCache_ = 0; alignas(kCacheLineSize) std::atomic readIdx_ = {0}; alignas(kCacheLineSize) size_t writeIdxCache_ = 0; - - // Padding to avoid adjacent allocations to share cache line with - // writeIdxCache_ - char padding_[kCacheLineSize - sizeof(writeIdxCache_)]; }; } // namespace rigtorp