1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Launch args, auto generate startup code, additional locking detection

This commit is contained in:
Brian Fiete 2019-11-28 09:12:49 -08:00
parent b640bf9d5e
commit bcc7de66d9
6 changed files with 153 additions and 10 deletions

View file

@ -958,8 +958,7 @@ public:
intptr moveCount = this->mSize - idx;
memmove(this->mVals + idx + size, this->mVals + idx, moveCount * sizeof(T));
}
for (intptr i = 0; i < size; i++)
this->mVals[idx + i] = vals[i];
memcpy(&this->mVals[idx], vals, size * sizeof(T));
this->mSize += (int_cosize)size;
}