3
0
Fork 0
forked from suyu/suyu

Fixed invalid iterator usage

This commit is contained in:
Andrew Strelsky 2021-09-29 06:58:48 -04:00
parent 781c1d8df8
commit 3fc7aceea7
No known key found for this signature in database
GPG key ID: F33EB9033EFF4FDE

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