Browse Source
Merge pull request #7106 from astrelsky/invalid_iterator_fix
Fixed invalid iterator usage
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/common/host_memory.cpp
|
|
|
@ -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
|
|
|
|
|