From 2698921382951ecfabbc928160acca6dd6d5f2e5 Mon Sep 17 00:00:00 2001
From: Edo <edoardo.sanguineti222@gmail.com>
Date: Sat, 24 Dec 2022 22:16:01 +0100
Subject: [PATCH] [Entities]: Remove bruh code (#664)

---
 src/Utils/Entities.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Utils/Entities.cpp b/src/Utils/Entities.cpp
index baf3962e..cbc8b494 100644
--- a/src/Utils/Entities.cpp
+++ b/src/Utils/Entities.cpp
@@ -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);