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;
}
// 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
// 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
int end_backslash_count = 0;
for (std::string::reverse_iterator rit = read_line.rbegin();
rit != read_line.rend() && *rit == '\\'; ++rit) {