mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
wip removing mutex and dependencies
This commit is contained in:
@@ -380,7 +380,7 @@ public:
|
||||
clear()
|
||||
{
|
||||
for (auto& p : map_)
|
||||
p.clear();
|
||||
p.clear(); // TODO make sure that it is locked inside
|
||||
}
|
||||
|
||||
iterator
|
||||
@@ -406,7 +406,7 @@ public:
|
||||
{
|
||||
std::size_t ret = 0;
|
||||
for (auto& p : map_)
|
||||
ret += p.size();
|
||||
ret += p.size(); // TODO make sure that it is locked inside
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user