diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-19 05:37:21 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-19 05:37:21 -0700 |
commit | 451c3957fe63958100741a07e58405f8f564074c (patch) | |
tree | 759d5483c816a741ca24fee95067141dde020870 | |
parent | 4c6b210af0d6047aafe0f600cbcc5122df4132a1 (diff) | |
parent | 16d567194305d728ca433de4b78eb049a86aa450 (diff) |
Merge pull request #1485 from xanatos/patch-1
Small logical error in mruset
-rw-r--r-- | src/mruset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mruset.h b/src/mruset.h index ad2e160d3a..a52735182d 100644 --- a/src/mruset.h +++ b/src/mruset.h @@ -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(); |