From b3e86d38775d70f89b746dc9cc369d1cd614296b Mon Sep 17 00:00:00 2001 From: Toofy Date: Sun, 23 Apr 2023 16:42:24 +0100 Subject: [PATCH] Formatting --- src/world/WorldServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/WorldServer.cpp b/src/world/WorldServer.cpp index 8c888209..c89cf550 100644 --- a/src/world/WorldServer.cpp +++ b/src/world/WorldServer.cpp @@ -145,8 +145,8 @@ std::string readFileToString( const std::string& filename ) file.close(); // Remove all newlines from the file contents - fileContents.erase(std::remove(fileContents.begin(), fileContents.end(), '\n'), fileContents.end()); - fileContents.erase(std::remove(fileContents.begin(), fileContents.end(), '\r'), fileContents.end()); + fileContents.erase( std::remove( fileContents.begin(), fileContents.end(), '\n' ), fileContents.end() ); + fileContents.erase( std::remove( fileContents.begin(), fileContents.end(), '\r' ), fileContents.end() ); // Return the file contents as a string