Count read zones.

This commit is contained in:
Bartosz Taudul 2017-09-30 16:59:03 +02:00
parent 06949e2f99
commit f387a16e61

View File

@ -1660,6 +1660,7 @@ void View::ReadTimeline( FileRead& f, Vector<Event*>& vec, Event* parent, const
for( uint64_t i=0; i<sz; i++ )
{
auto zone = m_slab.Alloc<Event>();
m_zonesCnt++;
vec.push_back( zone );
f.Read( &zone->start, sizeof( zone->start ) );