diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-03-19 11:14:17 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-03-19 11:14:17 -0400 |
commit | 58d04ab3a3a0b13524a862168bed1c3d0708766e (patch) | |
tree | b4f63ebe6373c08ffa93002f263fa71a2177879d /cores/arduino/WString.h | |
parent | 7dea0522f48641106f92b1511b9e62ee46f8e2dc (diff) |
Return an invalid string (not a partial one) when operator+() fails.
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index 18b6541..d707309 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -153,6 +153,7 @@ protected: unsigned char flags; // unused, for future features protected: void init(void); + void invalidate(void); unsigned char changeBuffer(unsigned int maxStrLen); unsigned char concat(const char *cstr, unsigned int length); |