Skip to content

Commit bdb7b32

Browse files
committed
detab and trim
1 parent a07ec5c commit bdb7b32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cores/esp8266/WString.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ class String {
278278
// parsing/conversion
279279
long toInt(void) const;
280280
float toFloat(void) const;
281-
double toDouble(void) const;
281+
double toDouble(void) const;
282282

283283
protected:
284284
// Contains the string info when we're not in SSO mode
285-
struct _ptr {
285+
struct _ptr {
286286
char * buff;
287287
uint16_t cap;
288288
uint16_t len;
@@ -306,7 +306,7 @@ class String {
306306
inline void setSSO(bool set) { sso.isHeap = !set; }
307307
inline void setLen(int len) { if (isSSO()) sso.len = len; else ptr.len = len; }
308308
inline void setCapacity(int cap) { if (!isSSO()) ptr.cap = cap; }
309-
inline void setBuffer(char *buff) { if (!isSSO()) ptr.buff = buff; }
309+
inline void setBuffer(char *buff) { if (!isSSO()) ptr.buff = buff; }
310310
// Buffer accessor functions
311311
inline const char *buffer() const { return (const char *)(isSSO() ? sso.buff : ptr.buff); }
312312
inline char *wbuffer() const { return isSSO() ? const_cast<char *>(sso.buff) : ptr.buff; } // Writable version of buffer

0 commit comments

Comments
 (0)