Don't check twice for the same thing.

This commit is contained in:
Bartosz Taudul 2019-05-19 16:23:19 +02:00
parent 007e434a05
commit 8f85a0da2c

View File

@ -9390,7 +9390,7 @@ std::vector<MemoryPage> 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;