Browse Source

Merge pull request #1485 from xanatos/patch-1

Small logical error in mruset
miguelfreitas
Pieter Wuille 13 years ago
parent
commit
451c3957fe
  1. 2
      src/mruset.h

2
src/mruset.h

@ -51,7 +51,7 @@ public: @@ -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();

Loading…
Cancel
Save