|
|
@@ -238,8 +238,8 @@ StringId32 JSONElement::to_string_id() const
|
|
|
ResourceId JSONElement::to_resource_id(const char* type) const
|
|
|
{
|
|
|
CE_ASSERT_NOT_NULL(type);
|
|
|
- TempAllocator1024 alloc;
|
|
|
- DynamicString str(alloc);
|
|
|
+ // TempAllocator1024 alloc;
|
|
|
+ DynamicString str(default_allocator());
|
|
|
json::parse_string(m_at, str);
|
|
|
return ResourceId(type, str.c_str());
|
|
|
}
|