factory.h:6: public: should be indented +1 space inside class Object [whitespace/indent] [3]
factory.h:31: private: should be indented +1 space inside class Factory [whitespace/indent] [3]
factory.h:33: public: should be indented +1 space inside class Factory [whitespace/indent] [3]
factory.h:33: "public:" should be preceded by a blank line [whitespace/blank_line] [3]
factory.h:39: An else should appear on the same line as the preceding } [whitespace/newline] [4]
factory.h:39: If an else has a brace on one side, it should have it on both [readability/braces] [5]
factory.h:43: An else should appear on the same line as the preceding } [whitespace/newline] [4]
factory.h:43: If an else has a brace on one side, it should have it on both [readability/braces] [5]
factory.h:47: An else should appear on the same line as the preceding } [whitespace/newline] [4]
factory.h:47: If an else has a brace on one side, it should have it on both [readability/braces] [5]
factory.h:57: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing factory.h
Total errors found: 11
|