[ox/std] Make Vector::erase return iterator item after removed item
This commit is contained in:
2
deps/ox/src/ox/std/hashmap.hpp
vendored
2
deps/ox/src/ox/std/hashmap.hpp
vendored
@@ -182,7 +182,7 @@ void HashMap<K, T>::erase(const K &k) {
|
||||
h = hash(hashStr, 8) % m_pairs.size();
|
||||
}
|
||||
}
|
||||
m_keys.erase(ox::find(m_keys.cbegin(), m_keys.cend(), k));
|
||||
m_keys.erase(ox::find(m_keys.begin(), m_keys.end(), k));
|
||||
}
|
||||
|
||||
template<typename K, typename T>
|
||||
|
Reference in New Issue
Block a user