Fix warning
This commit is contained in:
parent
38369f10dd
commit
987574c123
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue