aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-04-25 08:19:57 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2015-04-30 08:16:30 -0700
commitd4d5022cfc6f1b826e4c644539a2c756a7499198 (patch)
tree0695cf6b9460dba508e2212153140e73f2689bbd /src/test
parentd81cff32e50fe5f686f985d0af2e74219f328ed0 (diff)
downloadbitcoin-d4d5022cfc6f1b826e4c644539a2c756a7499198.tar.xz
Use ring buffer of set iterators instead of deque of copies in mruset
Diffstat (limited to 'src/test')
-rw-r--r--src/test/mruset_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mruset_tests.cpp b/src/test/mruset_tests.cpp
index bd4e9c1d38..9a9763e27a 100644
--- a/src/test/mruset_tests.cpp
+++ b/src/test/mruset_tests.cpp
@@ -24,7 +24,7 @@ private:
std::set<int> set;
public:
- mrutester() { mru.max_size(MAX_SIZE); }
+ mrutester() : mru(MAX_SIZE) {}
int size() const { return set.size(); }
void insert(int n)