This commit is contained in:
IlyaShurupov 2023-09-03 10:48:24 +03:00
parent b3d06906ff
commit b0d5226915
7 changed files with 317 additions and 52 deletions

View file

@ -102,7 +102,7 @@ namespace tp {
// Creates new string data from raw data pointer.
// Does not own string buffer - string buffer will not be freed. Initializes as const memory.
StringTemplate(const tChar* raw) {
mData = new (sStringPool.allocate(0)) StringData(raw, true);
mData = new (sStringPool.allocate(0)) StringData(raw, true);
incReference(mData);
}