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

This reverts commit 05cccb585d7c248784e547ae65ca595823c385c7.
This commit is contained in:
PabloMK7
2024-05-16 00:17:25 +02:00
parent 475a061a72
commit c171aaad10
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: