diff options
Diffstat (limited to 'server/src/saxparser.h')
| -rw-r--r-- | server/src/saxparser.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/saxparser.h b/server/src/saxparser.h index 9f2faa2..265727f 100644 --- a/server/src/saxparser.h +++ b/server/src/saxparser.h @@ -95,7 +95,7 @@ public:     * @param error A std::string containing the error message.     * @param lineno An integer containing the line number on which the error occurred.     */ -  virtual void parseError(char *buf, size_t len, std::string error, int lineno); +  virtual void parseError(const char *buf, size_t len, std::string error, int lineno);    /**     * Buffer parse method. @@ -107,7 +107,7 @@ public:     * false otherwise.     * @see bool parse(char *buf, size_t size)     */ -  bool parse(char *buf, size_t size); +  bool parse(const char *buf, size_t size);    /**     * Get the number of bytes used from the last buffer.  | 
