mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
Formatting
This commit is contained in:
parent
f0e1990cbd
commit
b3e86d3877
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue