X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1631088d558bc27b4f94869ddedec4580e7f30fa..d3819ef7b806ccd92a767ec4bb43e0388f879216:/stglibs/srvconf.lib/include/stg/parser_get_user.h?ds=inline diff --git a/stglibs/srvconf.lib/include/stg/parser_get_user.h b/stglibs/srvconf.lib/include/stg/parser_get_user.h index 3f09ca5e..db074af4 100644 --- a/stglibs/srvconf.lib/include/stg/parser_get_user.h +++ b/stglibs/srvconf.lib/include/stg/parser_get_user.h @@ -25,6 +25,7 @@ #include "stg/parser.h" #include "stg/os_int.h" +#include "stg/const.h" #include #include @@ -34,11 +35,12 @@ class BASE_PROPERTY_PARSER { public: - virtual bool Parse(const char ** attr) = 0; + virtual ~BASE_PROPERTY_PARSER() {} + virtual void Parse(const char ** attr) = 0; }; template -class PROPERTY_PARSER +class PROPERTY_PARSER : public BASE_PROPERTY_PARSER { public: typedef T (* FUNC)(const char **);