mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Use proper memory ordering.
This commit is contained in:
parent
d4a1168491
commit
44f1d3dc1c
@ -113,7 +113,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
memUsage.fetch_add( size );
|
||||
memUsage.fetch_add( size, std::memory_order_relaxed );
|
||||
m_usage += size;
|
||||
auto ret = new char[size];
|
||||
m_buffer.emplace_back( ret );
|
||||
|
Loading…
Reference in New Issue
Block a user