Merge pull request #5106 from lioncash/constant

Memmap: Replace '0' constant with nullptr
This commit is contained in:
Matthew Parlane 2017-03-19 16:42:36 +13:00 committed by GitHub
commit cb87b25ac6
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ void Shutdown()
if ((flags & region.flags) != region.flags)
continue;
g_arena.ReleaseView(*region.out_pointer, region.size);
*region.out_pointer = 0;
*region.out_pointer = nullptr;
}
for (auto& entry : logical_mapped_entries)
{