Silence padding warnings, as this is intended behaviour

This commit is contained in:
hulakdar 2022-01-26 21:08:17 +02:00
parent 8331df64be
commit 9fda60820a

View File

@ -30,6 +30,11 @@ SOFTWARE.
#include "../common/TracyAlloc.hpp" #include "../common/TracyAlloc.hpp"
#if defined (_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4324)
#endif
namespace tracy { namespace tracy {
template <typename T> class SPSCQueue { template <typename T> class SPSCQueue {
@ -134,3 +139,7 @@ private:
char padding_[kCacheLineSize - sizeof(writeIdxCache_)]; char padding_[kCacheLineSize - sizeof(writeIdxCache_)];
}; };
} // namespace rigtorp } // namespace rigtorp
#if defined (_MSC_VER)
#pragma warning(pop)
#endif