mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 20:53:52 +00:00
Remove unused variable.
This commit is contained in:
parent
e93b574c5d
commit
5887c9d12c
@ -56,7 +56,6 @@ public:
|
|||||||
if( m_capacity != MaxCapacity() && m_ptr )
|
if( m_capacity != MaxCapacity() && m_ptr )
|
||||||
{
|
{
|
||||||
memUsage -= Capacity() * sizeof( T );
|
memUsage -= Capacity() * sizeof( T );
|
||||||
const auto sz = size();
|
|
||||||
free( m_ptr );
|
free( m_ptr );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -67,7 +66,6 @@ public:
|
|||||||
if( m_capacity != MaxCapacity() && m_ptr )
|
if( m_capacity != MaxCapacity() && m_ptr )
|
||||||
{
|
{
|
||||||
memUsage -= Capacity() * sizeof( T );
|
memUsage -= Capacity() * sizeof( T );
|
||||||
const auto sz = size();
|
|
||||||
free( m_ptr );
|
free( m_ptr );
|
||||||
}
|
}
|
||||||
memcpy( this, &src, sizeof( Vector<T> ) );
|
memcpy( this, &src, sizeof( Vector<T> ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user