-rw-r--r-- | include/opkele/tidy.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ -47,13 +47,13 @@ namespace opkele { tidy_doc_t& operator=(TidyDoc x) { if(_x) tidyRelease(_x); _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); return tidyOptSetBool(_x,o,v?yes:no); } inline bool opt_set(TidyOptionId o,int v) { |