mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
I got meowed by Gidoly
This commit is contained in:
parent
ba1e137bb6
commit
9bef0b35ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue