mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Use memcpy
This commit is contained in:
parent
59ae188a7f
commit
ab0dc0da11
@ -5692,8 +5692,7 @@ void View::DrawFindZone()
|
|||||||
{
|
{
|
||||||
zonesToIterate = &sortedZones;
|
zonesToIterate = &sortedZones;
|
||||||
sortedZones.reserve_and_use( v->second.zones.size() );
|
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 )
|
switch( m_findZone.tableSortBy )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user