X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9ae1f101b5418c0ba2e6c9d86b23c12f0140982..7ef8de40e0bcdd931f5a400fd586fee3a1aaaeea:/libs/srvconf/parsers/get_tariff.cpp?ds=sidebyside diff --git a/libs/srvconf/parsers/get_tariff.cpp b/libs/srvconf/parsers/get_tariff.cpp index 30492968..af92da0b 100644 --- a/libs/srvconf/parsers/get_tariff.cpp +++ b/libs/srvconf/parsers/get_tariff.cpp @@ -39,7 +39,7 @@ class AoSParser : public BasePropertyParser public: using Func = bool (*)(const char**, A &, T A::value_type::*); AoSParser(A& a, T A::value_type::* fld, Func f) : array(a), field(fld), func(f) {} - virtual bool Parse(const char** attr, const std::string& /*attrName*/, const std::string& /*fromEncoding*/) { return func(attr, array, field); } + bool Parse(const char** attr, const std::string& /*attrName*/, const std::string& /*fromEncoding*/) override { return func(attr, array, field); } private: A& array; T A::value_type::* field;