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