mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Proper initialization order.
This commit is contained in:
parent
5ba0fa8617
commit
c0fe0e3e79
@ -15,8 +15,8 @@ class Slab
|
||||
public:
|
||||
Slab()
|
||||
: m_ptr( new char[BlockSize] )
|
||||
, m_buffer( { m_ptr } )
|
||||
, m_offset( 0 )
|
||||
, m_buffer( { m_ptr } )
|
||||
{
|
||||
memUsage.fetch_add( BlockSize, std::memory_order_relaxed );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user