forked from OSchip/llvm-project
Fixes a typo that causes Reserve(X) to both re-allocate the container and
change the last index (i.e. to X), which has unintended consequences for Reserve(X) followed by Append(). llvm-svn: 190785
This commit is contained in:
parent
c354d2177a
commit
725ec4e84f
|
@ -592,7 +592,7 @@ namespace lldb_private {
|
|||
void
|
||||
Reserve (typename Collection::size_type size)
|
||||
{
|
||||
m_entries.resize (size);
|
||||
m_entries.reserve (size);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue