Merge pull request #1485 from xanatos/patch-1

Small logical error in mruset
This commit is contained in:
Pieter Wuille 2012-06-19 05:37:21 -07:00
commit 451c3957fe

View file

@ -51,7 +51,7 @@ public:
size_type max_size(size_type s)
{
if (s)
while (queue.size() >= s)
while (queue.size() > s)
{
set.erase(queue.front());
queue.pop_front();