X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/84c7cad404a6073453edcb2045a57642d5744811..5985f3c811497f87ac58b64695b6d28879f07c65:/stglibs/srvconf.lib/parsers/simple.h?ds=sidebyside diff --git a/stglibs/srvconf.lib/parsers/simple.h b/stglibs/srvconf.lib/parsers/simple.h index 03c950bc..43dbcd56 100644 --- a/stglibs/srvconf.lib/parsers/simple.h +++ b/stglibs/srvconf.lib/parsers/simple.h @@ -38,6 +38,7 @@ public: PARSER(const std::string & tag, CALLBACK f, void * data); int ParseStart(const char * el, const char ** attr); void ParseEnd(const char * el); + void Failure(const std::string & reason) { callback(false, reason, data); } private: std::string tag;