-rw-r--r-- | include/opkele/expat.h | 2 | ||||
-rw-r--r-- | include/opkele/tidy.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/opkele/expat.h b/include/opkele/expat.h index 21be003..c154785 100644 --- a/include/opkele/expat.h +++ b/include/opkele/expat.h @@ -17,9 +17,9 @@ namespace opkele { virtual ~expat_t() throw(); expat_t& operator=(XML_Parser x); - operator const XML_Parser(void) const { return _x; } + operator XML_Parser(void) const { return _x; } operator XML_Parser(void) { return _x; } inline bool parse(const char *s,int len,bool final=false) { assert(_x); diff --git a/include/opkele/tidy.h b/include/opkele/tidy.h index 059656d..039d13a 100644 --- a/include/opkele/tidy.h +++ b/include/opkele/tidy.h @@ -49,9 +49,9 @@ namespace opkele { _x = x; return *this; } - operator const TidyDoc(void) const { return _x; } + operator TidyDoc(void) const { return _x; } operator TidyDoc(void) { return _x; } inline bool opt_set(TidyOptionId o,bool v) { assert(_x); |