From 8eea4576c433db9f6499081ab7fc789886d32025 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Tue, 27 Jul 2010 10:18:04 +0000 Subject: removed append() from String library --- cores/arduino/WString.cpp | 9 --------- cores/arduino/WString.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp index 57e4e81..d94d26b 100644 --- a/cores/arduino/WString.cpp +++ b/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/cores/arduino/WString.h b/cores/arduino/WString.h index c49e0c5..dd2245e 100644 --- a/cores/arduino/WString.h +++ b/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 -- cgit v1.2.3-18-g5258