Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2017-09-22 23:25:18 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2017-09-22 23:25:18 +0300
commitc0fe0e3e790fcad67adf3016792c3a12cd51853f (patch)
tree8ec5e0edf0df53ff34dc1dcf01f676499f3cdd7a /server/TracySlab.hpp
parent5ba0fa8617c333c609cfd746c37465f33f43f8b1 (diff)
Proper initialization order.
Diffstat (limited to 'server/TracySlab.hpp')
-rwxr-xr-xserver/TracySlab.hpp2
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 );
}