- FACTORY(USERS & users) : m_users(users) {}
- virtual BASE_PARSER * create(const ADMIN & admin) { return new SEND_MESSAGE(admin, m_users); }
- static void Register(REGISTRY & registry, USERS & users)
- { registry[tag] = new FACTORY(users); }
+ explicit FACTORY(Users & users) : m_users(users) {}
+ BASE_PARSER * create(const Admin & admin) override { return new SEND_MESSAGE(admin, m_users); }
+ static void Register(REGISTRY & registry, Users & users)
+ { registry[ToLower(tag)] = new FACTORY(users); }