fix(splay_map): fix typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
21f9699661
commit
8d3ae665e7
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public:
|
||||||
void insert(K const & k, T const & v) { m_map.insert(mk_pair(k, v)); }
|
void insert(K const & k, T const & v) { m_map.insert(mk_pair(k, v)); }
|
||||||
entry const * find(K const & k) const { return m_map.find(mk_pair(k, T())); }
|
entry const * find(K const & k) const { return m_map.find(mk_pair(k, T())); }
|
||||||
bool contains(K const & k) const { return m_map.contains(mk_pair(k, T())); }
|
bool contains(K const & k) const { return m_map.contains(mk_pair(k, T())); }
|
||||||
entry const * splay_find(K const & k) { return m_map.contains(mk_pair(k, T())); }
|
entry const * splay_find(K const & k) { return m_map.splay_find(mk_pair(k, T())); }
|
||||||
void erase(K const & k) { m_map.erase(mk_pair(k, T())); }
|
void erase(K const & k) { m_map.erase(mk_pair(k, T())); }
|
||||||
|
|
||||||
class ref {
|
class ref {
|
||||||
|
|
Loading…
Reference in a new issue