[Lldb-commits] [PATCH] D74010: Fix BroadcasterManager::RemoveListener to really remove the listener
Reid Kleckner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 4 17:26:55 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG50d2d33b8ef5: Fix BroadcasterManager::RemoveListener to really remove the listener (authored by rnk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74010/new/
https://reviews.llvm.org/D74010
Files:
lldb/source/Utility/Broadcaster.cpp
Index: lldb/source/Utility/Broadcaster.cpp
===================================================================
--- lldb/source/Utility/Broadcaster.cpp
+++ lldb/source/Utility/Broadcaster.cpp
@@ -406,7 +406,7 @@
listener_collection::iterator iter = m_listeners.begin(),
end_iter = m_listeners.end();
- std::find_if(iter, end_iter, predicate);
+ iter = std::find_if(iter, end_iter, predicate);
if (iter != end_iter)
m_listeners.erase(iter);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74010.242476.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200205/e1d89cf2/attachment.bin>
More information about the lldb-commits
mailing list