diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-25 08:19:57 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-30 08:16:30 -0700 |
commit | d4d5022cfc6f1b826e4c644539a2c756a7499198 (patch) | |
tree | 0695cf6b9460dba508e2212153140e73f2689bbd /src/test | |
parent | d81cff32e50fe5f686f985d0af2e74219f328ed0 (diff) |
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.cpp | 2 |
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) |