diff options
| author | Pieter Wuille <[email protected]> | 2015-04-25 08:19:57 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-04-30 08:16:30 -0700 |
| commit | d4d5022cfc6f1b826e4c644539a2c756a7499198 (patch) | |
| tree | 0695cf6b9460dba508e2212153140e73f2689bbd /src/test | |
| parent | Replace mruset setAddrKnown with CRollingBloomFilter addrKnown (diff) | |
| download | discoin-d4d5022cfc6f1b826e4c644539a2c756a7499198.tar.xz discoin-d4d5022cfc6f1b826e4c644539a2c756a7499198.zip | |
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 bd4e9c1d3..9a9763e27 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) |