mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-16 08:45:21 +00:00
I got meowed by Gidoly
This commit is contained in:
@@ -61,7 +61,7 @@ void BufferCache<P>::RunGarbageCollector() {
|
|||||||
const u64 threshold = frame_tick - ticks_to_destroy;
|
const u64 threshold = frame_tick - ticks_to_destroy;
|
||||||
boost::container::small_vector<BufferId, 64> expired;
|
boost::container::small_vector<BufferId, 64> expired;
|
||||||
for (auto [id, buffer] : slot_buffers) {
|
for (auto [id, buffer] : slot_buffers) {
|
||||||
if (buffer.GetFrameTick() < threshold) {
|
if (buffer->GetFrameTick() < threshold) {
|
||||||
expired.push_back(id);
|
expired.push_back(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user