[lldb] Small optimization of FormatMap::Delete
llvm-svn: 370612
This commit is contained in:
parent
3e15a7a147
commit
5341193537
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue