aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/WString.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index b7d3852..89fcaa5 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -160,9 +160,9 @@ public:
void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
{getBytes((unsigned char *)buf, bufsize, index);}
- const char * c_str() const { return buffer; }
- const char* begin() { return c_str(); }
- const char* end() { return c_str() + length(); }
+ const char* c_str() const { return buffer; }
+ const char* begin() const { return c_str(); }
+ const char* end() const { return c_str() + length(); }
// search
int indexOf( char ch ) const;