factory.h:3: public: should be indented +1 space inside class Object [whitespace/indent] [3]
factory.h:8: public: should be indented +1 space inside class Child [whitespace/indent] [3]
factory.h:9: Tab found; better to use spaces [whitespace/tab] [1]
factory.h:9: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
factory.h:10: Tab found; better to use spaces [whitespace/tab] [1]
factory.h:11: Tab found; better to use spaces [whitespace/tab] [1]
factory.h:12: Tab found; better to use spaces [whitespace/tab] [1]
factory.h:13: private: should be indented +1 space inside class Child [whitespace/indent] [3]
factory.h:14: Tab found; better to use spaces [whitespace/tab] [1]
factory.h:21: Missing space before { [whitespace/braces] [5]
factory.h:23: Add #include <string> for string [build/include_what_you_use] [4]
Done processing factory.h
Total errors found: 11
|