File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments