From cd4c0e56e23882f1b6fc077b31b6a9226c3d893b Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Tue, 27 Jul 2010 10:18:04 +0000 Subject: [PATCH] removed append() from String library --- hardware/arduino/cores/arduino/WString.cpp | 9 --------- hardware/arduino/cores/arduino/WString.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/hardware/arduino/cores/arduino/WString.cpp b/hardware/arduino/cores/arduino/WString.cpp index 57e4e8122..d94d26bbb 100644 --- a/hardware/arduino/cores/arduino/WString.cpp +++ b/hardware/arduino/cores/arduino/WString.cpp @@ -410,15 +410,6 @@ String String::substring( unsigned int beginIndex, unsigned int endIndex ) const return outPut; } -const String & String::append( const String &str ) -{ - return (*this) += str; -} - -const String & String::append( const char ch) -{ - return (*this) += ch; -} int String::compareTo( const String &str ) const { diff --git a/hardware/arduino/cores/arduino/WString.h b/hardware/arduino/cores/arduino/WString.h index c49e0c56d..dd2245e3f 100644 --- a/hardware/arduino/cores/arduino/WString.h +++ b/hardware/arduino/cores/arduino/WString.h @@ -75,8 +75,6 @@ public: String replace( const String& match, const String& replace ); String substring( unsigned int beginIndex ) const; String substring( unsigned int beginIndex, unsigned int endIndex ) const; - const String& append( const String &str ); - const String& append( const char ); int compareTo( const String &str ) const; int compareTo( const char* str ) const; //added