1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-31 00:16:32 -05:00

Merge pull request #7106 from astrelsky/invalid_iterator_fix

Fixed invalid iterator usage
This commit is contained in:
bunnei
2021-09-29 09:35:01 -07:00
committed by GitHub

View File

@@ -314,8 +314,8 @@ private:
}
void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) {
placeholders.erase(it);
placeholder_host_pointers.erase(it->lower());
placeholders.erase(it);
}
/// Return true when a given memory region is a "nieche" and the placeholders don't have to be