mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-24 05:44:30 +00:00
Merge pull request #1485 from xanatos/patch-1
Small logical error in mruset
This commit is contained in:
commit
451c3957fe
@ -51,7 +51,7 @@ public:
|
|||||||
size_type max_size(size_type s)
|
size_type max_size(size_type s)
|
||||||
{
|
{
|
||||||
if (s)
|
if (s)
|
||||||
while (queue.size() >= s)
|
while (queue.size() > s)
|
||||||
{
|
{
|
||||||
set.erase(queue.front());
|
set.erase(queue.front());
|
||||||
queue.pop_front();
|
queue.pop_front();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user