fix(util/lru_cache): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b81d536946
commit
fc4b6a92cc
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class lru_cache {
|
||||||
clist m_head;
|
clist m_head;
|
||||||
public:
|
public:
|
||||||
lru_cache(unsigned c, Hash const & h = Hash(), Eq const & e = Eq()):
|
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) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue