- FACTORY(const ADMINS & admins) : m_admins(admins) {}
- virtual BASE_PARSER * create(const ADMIN & admin) { return new GET_ADMINS(admin, m_admins); }
- static void Register(REGISTRY & registry, const ADMINS & admins)
- { registry[tag] = new FACTORY(admins); }
+ explicit FACTORY(const Admins & admins) : m_admins(admins) {}
+ BASE_PARSER * create(const Admin & admin) override { return new GET_ADMINS(admin, m_admins); }
+ static void Register(REGISTRY & registry, const Admins & admins)
+ { registry[ToLower(tag)] = new FACTORY(admins); }