From fc4b6a92cc23e46579beceb335b582c4e40de490 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 3 Jun 2014 14:58:22 -0700 Subject: [PATCH] fix(util/lru_cache): typo Signed-off-by: Leonardo de Moura --- src/util/lru_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/lru_cache.h b/src/util/lru_cache.h index b53945b51..946793f77 100644 --- a/src/util/lru_cache.h +++ b/src/util/lru_cache.h @@ -74,7 +74,7 @@ class lru_cache { clist m_head; public: lru_cache(unsigned c, Hash const & h = Hash(), Eq const & e = Eq()): - m_capacity(std::max(c, 1u)), m_cache(5, entry_hash(h), entry_eq(e)), m_head(&m_head, &m_head) { + m_capacity(std::max(c, 1u)), m_cache(c, entry_hash(h), entry_eq(e)), m_head(&m_head, &m_head) { } /**