summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index f53ccdc..6b73002 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -167,8 +167,7 @@ void BuildLog::Close() {
log_file_ = NULL;
}
-class LineReader {
- public:
+struct LineReader {
explicit LineReader(FILE* file)
: file_(file), buf_end_(buf_), line_start_(buf_), line_end_(NULL) {
memset(buf_, 0, sizeof(buf_));