| 9 | DependencyGraph::DependencyMap DependencyGraph::m_Dependencies; |
| 10 | |
| 11 | void DependencyGraph::AddDependency(ConfigObject* child, ConfigObject* parent) |
| 12 | { |
| 13 | std::unique_lock<std::mutex> lock(m_Mutex); |
| 14 | if (auto [it, inserted] = m_Dependencies.insert(Edge(parent, child)); !inserted) { |
| 15 | m_Dependencies.modify(it, [](Edge& e) { e.count++; }); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | void DependencyGraph::RemoveDependency(ConfigObject* child, ConfigObject* parent) |
| 20 | { |
no test coverage detected