Fix warning

This commit is contained in:
Jalal El Mansouri 2020-07-17 14:32:15 -04:00 committed by Ivo List
parent 38369f10dd
commit 987574c123
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ bool ReadFileToArray(const System::StrType& file_path,
continue; continue;
} }
// a \ at the end of a line allows us to escape the new line break, \\ // a \ at the end of a line allows us to escape the new line break,
// yields a single \, so \\\ translates to a single \ and a new line escape // \\ yields a single \, so \\\ translates to a single \ and a new line escape
int end_backslash_count = 0; int end_backslash_count = 0;
for (std::string::reverse_iterator rit = read_line.rbegin(); for (std::string::reverse_iterator rit = read_line.rbegin();
rit != read_line.rend() && *rit == '\\'; ++rit) { rit != read_line.rend() && *rit == '\\'; ++rit) {