[lldb] Small optimization of FormatMap::Delete

llvm-svn: 370612
This commit is contained in:
Jan Kratochvil 2019-09-01 15:08:33 +00:00
parent 3e15a7a147
commit 5341193537
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public:
MapIterator iter = m_map.find(name);
if (iter == m_map.end())
return false;
m_map.erase(name);
m_map.erase(iter);
if (listener)
listener->Changed();
return true;