From 8f85a0da2c8225d690f16abefea81dab9400fff1 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 19 May 2019 16:23:19 +0200 Subject: [PATCH] Don't check twice for the same thing. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 6214f986..b044ff39 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -9390,7 +9390,7 @@ std::vector View::GetMemoryPages() const const auto zvMid = m_zvStart + ( m_zvEnd - m_zvStart ) / 2; for( auto& alloc : mem.data ) { - if( m_memInfo.restrictTime && alloc.timeAlloc > zvMid ) break; + if( alloc.timeAlloc > zvMid ) break; const auto a0 = alloc.ptr - memlow; const auto a1 = a0 + alloc.size;