X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..f4333737c7e347efe9258ccf85c1237e03be619c:/projects/stargazer/plugins/configuration/sgconfig/parser_message.h diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_message.h b/projects/stargazer/plugins/configuration/sgconfig/parser_message.h index 3f75993a..379c2b70 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_message.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_message.h @@ -45,7 +45,7 @@ class SEND_MESSAGE: public BASE_PARSER { public: explicit FACTORY(Users & users) : m_users(users) {} - virtual BASE_PARSER * create(const Admin & admin) { return new SEND_MESSAGE(admin, m_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); } private: @@ -56,8 +56,8 @@ class SEND_MESSAGE: public BASE_PARSER SEND_MESSAGE(const Admin & admin, Users & users) : BASE_PARSER(admin, tag), m_users(users), m_result(res_ok), m_user(NULL) {} - int Start(void *data, const char *el, const char **attr); - int End(void *data, const char *el); + int Start(void *data, const char *el, const char **attr) override; + int End(void *data, const char *el) override; private: Users & m_users; @@ -67,7 +67,7 @@ class SEND_MESSAGE: public BASE_PARSER User * m_user; int ParseLogins(const char * logins); - void CreateAnswer(); + void CreateAnswer() override; }; } // namespace PARSER