aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-06-19 05:37:21 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-06-19 05:37:21 -0700
commit451c3957fe63958100741a07e58405f8f564074c (patch)
tree759d5483c816a741ca24fee95067141dde020870
parent4c6b210af0d6047aafe0f600cbcc5122df4132a1 (diff)
parent16d567194305d728ca433de4b78eb049a86aa450 (diff)
Merge pull request #1485 from xanatos/patch-1
Small logical error in mruset
-rw-r--r--src/mruset.h2
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();