diff options
| author | Pavel Labath <pavel@labath.sk> | 2024-06-28 10:18:58 +0200 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2024-06-28 10:40:13 +0200 |
| commit | b22ea2dc1e065f14a88df44e22a62427965a9b05 (patch) | |
| tree | 556dda468ac2b1f12ba17e016662080784b3fe07 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h | |
| parent | 1130e923e2d7fe046101bf639bc5ebcde194c005 (diff) | |
[lldb] Use SmallVector::erase correctly
erase() invalidates the iterator, we must use the returned iterator to
continue iterating.
This does not actually make a difference with the current implementation
of SmallVector (erase will effectively return the same pointer), but it
avoids future confusion.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
