factory.h:8: public: should be indented +1 space inside class Object [whitespace/indent] [3]
factory.h:15: public: should be indented +1 space inside class Apple [whitespace/indent] [3]
factory.h:22: public: should be indented +1 space inside class List [whitespace/indent] [3]
factory.h:29: public: should be indented +1 space inside class YetAnother [whitespace/indent] [3]
factory.h:36: public: should be indented +1 space inside class Factory [whitespace/indent] [3]
factory.h:53: private: should be indented +1 space inside class Factory [whitespace/indent] [3]
factory.h:54: Add #include <string> for string [build/include_what_you_use] [4]
Done processing factory.h
Total errors found: 7
|