1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

Formatting

This commit is contained in:
Toofy 2023-04-23 16:42:24 +01:00
parent f0e1990cbd
commit b3e86d3877

View file

@ -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