aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Igoe <t.igoe@arduino.cc>2010-07-27 10:18:04 +0000
committerTom Igoe <t.igoe@arduino.cc>2010-07-27 10:18:04 +0000
commit8eea4576c433db9f6499081ab7fc789886d32025 (patch)
treeedb60a7c5a7c257f69bf4efa6e5e0b7dce6030e9
parent58f5b67b71b8c7391d344e32aef2f6ef0a610ace (diff)
removed append() from String library
-rw-r--r--cores/arduino/WString.cpp9
-rw-r--r--cores/arduino/WString.h2
2 files changed, 0 insertions, 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