diff options
Diffstat (limited to 'src/server/events/Disconnect.cpp')
-rw-r--r-- | src/server/events/Disconnect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 7e38ffe1..4553c8a2 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -68,13 +68,13 @@ Disconnect::Impl::Impl(Engine& e, BlockImpl* const head_block = _head->parent_block(); // Remove tail from head's providers - std::set<BlockImpl*>::iterator hp = head_block->providers().find(tail_block); + auto hp = head_block->providers().find(tail_block); if (hp != head_block->providers().end()) { head_block->providers().erase(hp); } // Remove head from tail's providers - std::set<BlockImpl*>::iterator td = tail_block->dependants().find(head_block); + auto td = tail_block->dependants().find(head_block); if (td != tail_block->dependants().end()) { tail_block->dependants().erase(td); } |