Chromium Code Reviews| Index: o3d/utils/cross/text_reader.cc |
| diff --git a/o3d/utils/cross/text_reader.cc b/o3d/utils/cross/text_reader.cc |
| index dccbffaabdd4b6612710aee53dc9d5d8efa08609..c6f1e5695e50e7d78dfb32babda4e50741fcb61e 100644 |
| --- a/o3d/utils/cross/text_reader.cc |
| +++ b/o3d/utils/cross/text_reader.cc |
| @@ -48,7 +48,7 @@ TextReader::~TextReader() { |
| } |
| int TextReader::TestForEndOfLine(const std::string& eol) { |
| - if (eol.size() == 0) { |
| + if (eol.empty()) { |
|
Peter Kasting
2011/03/02 00:02:42
Nit: Eliminate anonymous namespace of consts and c
|
| return 0; |
| } |
| if (eol[0] == kLinefeed) { |