We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8882be commit 282ab2fCopy full SHA for 282ab2f
lldb/source/Core/Progress.cpp
@@ -151,10 +151,11 @@ void ProgressManager::Decrement(const Progress::ProgressData &progress_data) {
151
std::lock_guard<std::mutex> lock(m_entries_mutex);
152
llvm::StringRef key = progress_data.title;
153
154
- if (!m_entries.contains(key))
+ auto it = m_entries.find(key);
155
+ if (it == m_entries.end())
156
return;
157
- Entry &entry = m_entries[key];
158
+ Entry &entry = it->second;
159
entry.refcount--;
160
161
if (entry.refcount == 0) {
0 commit comments