git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed x2str for doubles.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
get_service.h
diff --git
a/stglibs/srvconf.lib/parsers/get_service.h
b/stglibs/srvconf.lib/parsers/get_service.h
index 847d8bfda6c1af56d183e3c88e6cf6941ddb1c47..d752abf236f9639a3937f036db64d805f7bfdddd 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/get_service.h
+++ b/
stglibs/srvconf.lib/parsers/get_service.h
@@
-42,6
+42,7
@@
public:
virtual ~PARSER();
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
+ void Failure(const std::string & reason) { callback(false, reason, info, data); }
private:
PROPERTY_PARSERS propertyParsers;