[Entities]: Remove bruh code (#664)

This commit is contained in:
Edo 2022-12-24 22:16:01 +01:00 committed by GitHub
parent 6958316fe4
commit 2698921382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,13 +6,13 @@ namespace Utils
{
std::string entityString;
for (auto& entity : this->entities)
for (const auto& entity : this->entities)
{
entityString.append("{\n");
for (auto& property : entity)
for (const auto& property : entity)
{
entityString.push_back('"');
entityString.append("\"");
entityString.append(property.first);
entityString.append("\" \"");
entityString.append(property.second);