0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

(profiler core) revert variables order change (prevois change may affect file read/write)

This commit is contained in:
Victor Zarubkin 2016-08-14 16:50:17 +03:00
parent bcfa8d362d
commit 13997f6187

View File

@ -344,10 +344,11 @@ namespace profiler
int line() const { return m_line; } int line() const { return m_line; }
}; };
#pragma pack(push,1)
class PROFILER_API SerializedBlock final class PROFILER_API SerializedBlock final
{ {
char* m_data;
uint16_t m_size; uint16_t m_size;
char* m_data;
public: public:
@ -363,6 +364,7 @@ namespace profiler
const BaseBlockData * block() const; const BaseBlockData * block() const;
const char* getBlockName() const; const char* getBlockName() const;
}; };
#pragma pack(pop)
struct PROFILER_API ThreadNameSetter final struct PROFILER_API ThreadNameSetter final
{ {