Revert "Artic Base: Fix out of bounds cache reads (#127)" (#129)

This reverts commit 05cccb585d.
This commit is contained in:
PabloMK7 2024-05-16 00:17:25 +02:00 committed by GitHub
parent 05cccb585d
commit 2e9d7bd208
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 56 deletions

View file

@ -88,16 +88,8 @@ public:
}
}
void invalidate(const key_type& key) {
auto i = find(key);
if (i != m_list.cend()) {
m_list.erase(i);
}
}
void clear() {
m_list.clear();
m_array.fill(value_type{});
}
private: