Fix compilation on MSVC 2015.

This commit is contained in:
Bartosz Taudul 2022-03-10 12:27:44 +01:00
parent 90d8762c33
commit 7d3c7049dc
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -136,7 +136,7 @@ private:
// Padding to avoid adjacent allocations to share cache line with // Padding to avoid adjacent allocations to share cache line with
// writeIdxCache_ // writeIdxCache_
char padding_[kCacheLineSize - sizeof(writeIdxCache_)]; char padding_[kCacheLineSize - sizeof(SPSCQueue<T>::writeIdxCache_)];
}; };
} // namespace rigtorp } // namespace rigtorp