summaryrefslogtreecommitdiff
path: root/include/String.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/String.h')
-rw-r--r--include/String.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/String.h b/include/String.h
index c6afdb2..ddb0cde 100644
--- a/include/String.h
+++ b/include/String.h
@@ -47,8 +47,8 @@ class String : public Base {
String(int);
String(double);
~String();
- char * set(char *, ...);
- char * to_charp(size_t = 0, ssize_t = -1) const;
+ const char * set(char *, ...);
+ const char * to_charp(size_t = 0, ssize_t = -1) const;
String extract(size_t = 0, ssize_t = -1) const;
char * strdup(size_t = 0, ssize_t = -1) const;
int to_int() const;