Little fix

This commit is contained in:
Nekotekina 2014-07-12 20:38:37 +04:00
parent 5835669dd9
commit 2331c5991a
1 changed files with 0 additions and 6 deletions

View File

@ -79,12 +79,6 @@ bool DynamicMemoryBlockBase<PT>::AllocFixed(u64 addr, u32 size)
return false; return false;
} }
if (IsMyAddress(addr) || IsMyAddress(addr + size - 1))
{
assert(0);
return false;
}
std::lock_guard<std::mutex> lock(m_lock); std::lock_guard<std::mutex> lock(m_lock);
for (u32 i = 0; i<m_allocated.size(); ++i) for (u32 i = 0; i<m_allocated.size(); ++i)