We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cfd270 commit 808b5b6Copy full SHA for 808b5b6
src/veil/lru_cache.h
@@ -45,7 +45,7 @@ class SimpleLRUCache
45
CCriticalSection cs_mycache;
46
47
public:
48
- SimpleLRUCache(int s) : csize(s < 1 ? 10 : s), keyValuesMap(csize) {}
+ SimpleLRUCache(int s) : csize(s < 1 ? 10 : s), keyValuesMap(s < 1 ? 10 : s) {}
49
50
void set(const K key, const V value) {
51
LOCK(cs_mycache);
0 commit comments