factory.h:6: public: should be indented +1 space inside class Object [whitespace/indent] [3]
factory.h:12: public: should be indented +1 space inside class Apple [whitespace/indent] [3]
factory.h:17: public: should be indented +1 space inside class List [whitespace/indent] [3]
factory.h:22: public: should be indented +1 space inside class Another [whitespace/indent] [3]
factory.h:28: public: should be indented +1 space inside class Factory [whitespace/indent] [3]
factory.h:37: If an else has a brace on one side, it should have it on both [readability/braces] [5]
Done processing factory.h
Total errors found: 6
|