aboutsummaryrefslogtreecommitdiff
path: root/src/test/mruset_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mruset_tests.cpp')
-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)