Skip to content

Commit bfc367b

Browse files
committed
Update revision log. Made samd/WString.h identical again to avr version.
1 parent b69e20d commit bfc367b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cores/arduino/WString.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ class String
159159
char& operator [] (unsigned int index);
160160
void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
161161
void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
162-
{getBytes((unsigned char *)buf, bufsize, index);}
163-
const char * c_str() const { return buffer; }
164-
char* begin() { return buffer; }
165-
char* end() { return buffer + length(); }
166-
const char* begin() const { return c_str(); }
167-
const char* end() const { return c_str() + length(); }
162+
{ getBytes((unsigned char *)buf, bufsize, index); }
163+
const char* c_str() const { return buffer; }
164+
char* begin() { return buffer; }
165+
char* end() { return buffer + length(); }
166+
const char* begin() const { return c_str(); }
167+
const char* end() const { return c_str() + length(); }
168168

169169
// search
170170
int indexOf( char ch ) const;

0 commit comments

Comments
 (0)