summaryrefslogtreecommitdiffstats
path: root/src/line_printer.h
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2013-05-19 16:02:48 (GMT)
committerThiago Farina <tfarina@chromium.org>2013-05-19 16:02:48 (GMT)
commitc74abd555746ef0d2eebd8ff4402dd76769bb63e (patch)
tree57ba7492ccf9a89d4a8d31940764bb26d0f86428 /src/line_printer.h
parentd45ed4fdaa5ca9335145ee6f88f765a7ae0a47f3 (diff)
downloadNinja-c74abd555746ef0d2eebd8ff4402dd76769bb63e.zip
Ninja-c74abd555746ef0d2eebd8ff4402dd76769bb63e.tar.gz
Ninja-c74abd555746ef0d2eebd8ff4402dd76769bb63e.tar.bz2
structs not classes.
For some reason that I do not, ninja prefers: struct Foo { Foo(); private: void Blah(); }; Rather than class Foo { public: Foo(); private: void Blah(); }; This catches the last two usages of "class" in the code base. Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/line_printer.h')
-rw-r--r--src/line_printer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/line_printer.h b/src/line_printer.h
index c292464..aea2817 100644
--- a/src/line_printer.h
+++ b/src/line_printer.h
@@ -20,8 +20,7 @@ using namespace std;
/// Prints lines of text, possibly overprinting previously printed lines
/// if the terminal supports it.
-class LinePrinter {
- public:
+struct LinePrinter {
LinePrinter();
bool is_smart_terminal() const { return smart_terminal_; }