]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_message.h
Ticket 52. Definition of the tariff pointer added to the
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_message.h
index 4caa354c47edcc4e6b1ed54f895e489498bcb761..6ed6622de9f03bee114e233391d72966bf3ebf75 100644 (file)
@@ -44,7 +44,7 @@ class SEND_MESSAGE: public BASE_PARSER
         class FACTORY : public BASE_PARSER::FACTORY
         {
             public:
-                FACTORY(USERS & users) : m_users(users) {}
+                explicit 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[ToLower(tag)] = new FACTORY(users); }