mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
chore: Drop unused unordered_limitedmap::insert_or_update()
This commit is contained in:
parent
0cf9410d47
commit
e087a7881a
@ -54,14 +54,6 @@ public:
|
|||||||
if (ret.second)
|
if (ret.second)
|
||||||
prune();
|
prune();
|
||||||
}
|
}
|
||||||
void insert_or_update(const value_type& x)
|
|
||||||
{
|
|
||||||
std::pair<iterator, bool> ret = map.insert(x);
|
|
||||||
if (ret.second)
|
|
||||||
prune();
|
|
||||||
else
|
|
||||||
ret.first->second = x.second;
|
|
||||||
}
|
|
||||||
void erase(const key_type& k)
|
void erase(const key_type& k)
|
||||||
{
|
{
|
||||||
map.erase(k);
|
map.erase(k);
|
||||||
|
Loading…
Reference in New Issue
Block a user