figure.h:8: Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
figure.h:11: public: should be indented +1 space inside class Figure [whitespace/indent] [3]
figure.h:12: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
figure.h:13: Missing space before { [whitespace/braces] [5]
figure.h:19: private: should be indented +1 space inside class Figure [whitespace/indent] [3]
figure.h:20: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
figure.h:20: Do not leave a blank line after "private:" [whitespace/blank_line] [3]
figure.h:24: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:26: Missing space before { [whitespace/braces] [5]
figure.h:41: private: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:46: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:48: Missing space after , [whitespace/comma] [3]
figure.h:48: Missing space before { [whitespace/braces] [5]
figure.h:62: private: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:67: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:68: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
figure.h:69: Missing space before { [whitespace/braces] [5]
figure.h:83: private: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:111: Add #include <string> for string [build/include_what_you_use] [4]
figure.h:126: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 20
|