From 4ef3f89280cc5eebf45eac7b572efdfd67f4065e Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Thu, 9 Jun 2022 23:10:13 -0400 Subject: [PATCH] * BugFix: Correct a minor post-merge typo. --- Engine/source/core/util/str.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/core/util/str.cpp b/Engine/source/core/util/str.cpp index 74a5f8428..d89fa3715 100644 --- a/Engine/source/core/util/str.cpp +++ b/Engine/source/core/util/str.cpp @@ -287,7 +287,7 @@ class String::StringData : protected StringDataImpl static StringData* Create(const StringChar* data, U32 len, bool interned = false) { - void* memory = dMalloc(sizeof(StringData) + sizeof(StringChar) * len) + void* memory = dMalloc(sizeof(StringData) + sizeof(StringChar) * len); StringData* result = new(memory) StringData(data, len, interned); return result; }