Tokenizer Test
This commit is contained in:
parent
6248c294b8
commit
1aece0c617
8 changed files with 235 additions and 214 deletions
|
|
@ -179,7 +179,8 @@ namespace tp {
|
|||
for (ualni i = 0; i < mLoad; i++) mBuff[i].~tType();
|
||||
mBuff = (tType*) mAllocator.allocate(sizeof(tType) * aSize);
|
||||
mSize = aSize;
|
||||
mLoad = 0;
|
||||
mLoad = aSize;
|
||||
for (ualni i = 0; i < mLoad; i++) new (mBuff + i) tType();
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue