Don't copy stats.

This commit is contained in:
Bartosz Taudul 2021-03-26 00:21:19 +01:00
parent 29133431bc
commit 514acf1bac
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -15289,7 +15289,7 @@ void View::DrawAnnotationList()
void View::DrawSampleParents()
{
const auto symbol = m_worker.GetSymbolData( m_sampleParents.symAddr );
const auto stats = *m_worker.GetSymbolStats( m_sampleParents.symAddr );
const auto& stats = *m_worker.GetSymbolStats( m_sampleParents.symAddr );
assert( !stats.parents.empty() );
bool show = true;