diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2017-09-22 23:25:18 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2017-09-22 23:25:18 +0300 |
commit | c0fe0e3e790fcad67adf3016792c3a12cd51853f (patch) | |
tree | 8ec5e0edf0df53ff34dc1dcf01f676499f3cdd7a /server/TracySlab.hpp | |
parent | 5ba0fa8617c333c609cfd746c37465f33f43f8b1 (diff) |
Proper initialization order.
Diffstat (limited to 'server/TracySlab.hpp')
-rwxr-xr-x | server/TracySlab.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracySlab.hpp b/server/TracySlab.hpp index 84ba1f4b..e4f53815 100755 --- a/server/TracySlab.hpp +++ b/server/TracySlab.hpp @@ -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 ); } |