No need to pack ZoneThreadData.

This commit is contained in:
Bartosz Taudul 2020-02-27 01:00:41 +01:00
parent c99537c402
commit 8288f7c6b7

View File

@ -106,7 +106,6 @@ public:
std::string message; std::string message;
}; };
#pragma pack( 1 )
struct ZoneThreadData struct ZoneThreadData
{ {
tracy_force_inline ZoneEvent* Zone() const { return (ZoneEvent*)( _zone_thread >> 16 ); } tracy_force_inline ZoneEvent* Zone() const { return (ZoneEvent*)( _zone_thread >> 16 ); }
@ -116,9 +115,7 @@ public:
uint64_t _zone_thread; uint64_t _zone_thread;
}; };
enum { ZoneThreadDataSize = sizeof( ZoneThreadData ) }; enum { ZoneThreadDataSize = sizeof( ZoneThreadData ) };
#pragma pack()
struct CpuThreadTopology struct CpuThreadTopology
{ {