wip removing mutex and dependencies

This commit is contained in:
Valentin Balaschenko
2025-06-11 14:31:26 +01:00
parent dacecd24ba
commit 316f9535e3
4 changed files with 36 additions and 66 deletions

View File

@@ -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;
}