mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Merge branch 'master' of https://github.com/beefytech/Beef into FuzzyAutoComplete
This commit is contained in:
parent
c2c7431620
commit
b70745ef1e
48 changed files with 2975 additions and 918 deletions
|
@ -830,8 +830,8 @@ public:
|
|||
else if (size > this->mSize)
|
||||
{
|
||||
Reserve(size);
|
||||
while (size > this->mSize)
|
||||
this->mVals[this->mSize++] = T();
|
||||
memset(&this->mVals[this->mSize], 0, (size - this->mSize) * sizeof(T));
|
||||
this->mSize = (int_cosize)size;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue