mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Using push/pop in all pragma pack pair to avoid potential padding bugs
This commit is contained in:
@@ -158,13 +158,13 @@ public:
|
||||
uint8_t inlineFrame;
|
||||
};
|
||||
|
||||
#pragma pack( 1 )
|
||||
#pragma pack( push, 1 )
|
||||
struct GhostKey
|
||||
{
|
||||
CallstackFrameId frame;
|
||||
uint8_t inlineFrame;
|
||||
};
|
||||
#pragma pack()
|
||||
#pragma pack( pop )
|
||||
|
||||
struct GhostKeyHasher
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user