X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a8689998a9b2cfc17dc260b423cce8ff2e407adb..9177beb0b910b03cecfa4ec5f98747cbb3d4280c:/stglibs/srvconf.lib/include/stg/parser_get_user.h diff --git a/stglibs/srvconf.lib/include/stg/parser_get_user.h b/stglibs/srvconf.lib/include/stg/parser_get_user.h index 8fc894a4..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 **);