X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmruset.h;h=a52735182d5fb921a9291644c7ad65e9603cf579;hb=32b53bb54ee7591fd47dd1ee24e05b73337f40b5;hp=b21f18563c94c0ee9dd50e279de441f6a5d33f21;hpb=6b8de05d0a6696dff4b7dccec5b74889f3cdc486;p=novacoin.git diff --git a/src/mruset.h b/src/mruset.h index b21f185..a527351 100644 --- a/src/mruset.h +++ b/src/mruset.h @@ -1,6 +1,6 @@ // Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MRUSET_H #define BITCOIN_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();