mirror of
https://github.com/lz4/lz4.git
synced 2024-11-27 11:53:59 +08:00
Optimized by replacing endl
with '\n'
This commit is contained in:
parent
48f9ecfb34
commit
e416cc9baa
@ -96,10 +96,9 @@ void print_line(stringstream &sout, string line)
|
||||
epos = line.find("*/");
|
||||
if (spos!=string::npos && epos!=string::npos) {
|
||||
sout << line.substr(0, spos);
|
||||
sout << "</b>" << line.substr(spos) << "<b>" << endl;
|
||||
sout << "</b>" << line.substr(spos) << "<b>" << '\n';
|
||||
} else {
|
||||
// fprintf(stderr, "lines=%s\n", line.c_str());
|
||||
sout << line << endl;
|
||||
sout << line << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user