diff options
author | Tom Igoe <t.igoe@arduino.cc> | 2010-07-27 22:59:18 +0000 |
---|---|---|
committer | Tom Igoe <t.igoe@arduino.cc> | 2010-07-27 22:59:18 +0000 |
commit | 58f043e0f3e1551206331efc00cdf47c4c885c10 (patch) | |
tree | d84d86c7cff6446fb9d4e4390f599c57c9380e88 /cores/arduino/WString.h | |
parent | e871ae523634b7e2bdb5664a7950ec83615c040b (diff) |
added more String examples
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index 5693e11..b4b6a38 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -37,7 +37,7 @@ class String String( const unsigned int, const int base=10 ); String( const long, const int base=10 ); String( const unsigned long, const int base=10 ); - ~String() { free(_buffer); } + ~String() { free(_buffer); _length = _capacity = 0;} //added _length = _capacity = 0; // operators const String & operator = ( const String &rhs ); |