diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2012-10-15 02:25:46 -0700 |
---|---|---|
committer | Chris E Ferron <chris.e.ferron@linux.intel.com> | 2012-10-15 09:12:53 -0700 |
commit | efcdec8b88bf582efaa80b9f7cf031814045b81d (patch) | |
tree | 5efc0a963d9488a41a4e52b0b114e8a2c8af7bdd | |
parent | 1a8e46469e828251ab910cb4016b9161efe9ff5d (diff) | |
download | powertop-2.0-v2-efcdec8b88bf582efaa80b9f7cf031814045b81d.tar.gz |
fix typo and correct coding styles in report_formatter
Igor noted a typo and coding styles errors in previous patch, correct them.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
-rw-r--r-- | src/report/report-formatter.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/report/report-formatter.h b/src/report/report-formatter.h index 7f9f544..d532f30 100644 --- a/src/report/report-formatter.h +++ b/src/report/report-formatter.h @@ -33,33 +33,33 @@ class report_formatter public: virtual ~report_formatter() {} - virtual void finish_report() {}; - virtual const char *get_result() {return "Basic report_formatter::get_resul call\n";}; - virtual void clear_result() {}; + virtual void finish_report() {} + virtual const char *get_result() {return "Basic report_formatter::get_result() call\n";} + virtual void clear_result() {} - virtual void add(const char *str) {}; - virtual void addv(const char *fmt, va_list ap) {}; + virtual void add(const char *str) {} + virtual void addv(const char *fmt, va_list ap) {} - virtual void add_header(const char *header, int level) {}; + virtual void add_header(const char *header, int level) {} - virtual void begin_section(section_type stype) {}; - virtual void end_section() {}; + virtual void begin_section(section_type stype) {} + virtual void end_section() {} - virtual void begin_table(table_type ttype) {}; - virtual void end_table() {}; + virtual void begin_table(table_type ttype) {} + virtual void end_table() {} - virtual void begin_row(row_type rtype) {}; - virtual void end_row() {}; + virtual void begin_row(row_type rtype) {} + virtual void end_row() {} - virtual void begin_cell(cell_type ctype) {}; - virtual void end_cell() {}; - virtual void add_empty_cell() {}; + virtual void begin_cell(cell_type ctype) {} + virtual void end_cell() {} + virtual void add_empty_cell() {} - virtual void begin_paragraph() {}; - virtual void end_paragraph() {}; + virtual void begin_paragraph() {} + virtual void end_paragraph() {} /* For quad-colouring CPU tables in HTML */ - virtual void set_cpu_number(int nr) {}; + virtual void set_cpu_number(int nr) {} }; #endif /* _REPORT_FORMATTER_H_ */ |