mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use memcpy
This commit is contained in:
parent
59ae188a7f
commit
ab0dc0da11
@ -5692,8 +5692,7 @@ void View::DrawFindZone()
|
||||
{
|
||||
zonesToIterate = &sortedZones;
|
||||
sortedZones.reserve_and_use( v->second.zones.size() );
|
||||
std::copy(v->second.zones.begin(), v->second.zones.end(), sortedZones.begin());
|
||||
|
||||
memcpy(sortedZones.data(), v->second.zones.data(), sizeof(ZoneEvent*)*v->second.zones.size());
|
||||
|
||||
switch( m_findZone.tableSortBy )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user