diff options
Diffstat (limited to 'include/String.h')
-rw-r--r-- | include/String.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/String.h b/include/String.h index b614d8d..fbeb9fc 100644 --- a/include/String.h +++ b/include/String.h @@ -50,7 +50,8 @@ class String : public Base { String(unsigned long long); String(double); ~String(); - const char * set(char *, ...); + const char * set(const char *, ...); + const char * set(const String &, ...); 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; |