diff --git a/client/tracy_SPSCQueue.h b/client/tracy_SPSCQueue.h index 9fe305f1..556c9b84 100644 --- a/client/tracy_SPSCQueue.h +++ b/client/tracy_SPSCQueue.h @@ -30,6 +30,11 @@ SOFTWARE. #include "../common/TracyAlloc.hpp" +#if defined (_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4324) +#endif + namespace tracy { template class SPSCQueue { @@ -134,3 +139,7 @@ private: char padding_[kCacheLineSize - sizeof(writeIdxCache_)]; }; } // namespace rigtorp + +#if defined (_MSC_VER) +#pragma warning(pop) +#endif