mirror of https://github.com/odrling/Aegisub
parent
75fc5f38d7
commit
a78f5d2760
|
@ -150,8 +150,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove old entries until we're under the max size
|
// Remove old entries until we're under the max size
|
||||||
for (auto it = age.rbegin(); size > max_size && it != age.rend(); )
|
for (auto it = age.rbegin(); size > max_size && it != age.rend(); it++)
|
||||||
KillMacroBlock(**it++);
|
KillMacroBlock(**it);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief Obtain a data block from the cache
|
/// @brief Obtain a data block from the cache
|
||||||
|
|
Loading…
Reference in New Issue