From b578554223c239ba97b8da31637990895be1d13c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 5 Dec 2017 21:55:00 +0100 Subject: [PATCH] Reserve lockmap timeline. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fc2e3ba5..1558efa5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -302,6 +302,7 @@ View::View( FileRead& f ) lockmap.threadList.emplace_back( t ); } f.Read( &tsz, sizeof( tsz ) ); + lockmap.timeline.reserve( tsz ); for( uint64_t i=0; i();