1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01:00

removed append() from String library

This commit is contained in:
Tom Igoe 2010-07-27 10:18:04 +00:00
parent b78768f761
commit cd4c0e56e2
2 changed files with 0 additions and 11 deletions

View File

@ -410,15 +410,6 @@ String String::substring( unsigned int beginIndex, unsigned int endIndex ) const
return outPut; 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 int String::compareTo( const String &str ) const
{ {

View File

@ -75,8 +75,6 @@ public:
String replace( const String& match, const String& replace ); String replace( const String& match, const String& replace );
String substring( unsigned int beginIndex ) const; String substring( unsigned int beginIndex ) const;
String substring( unsigned int beginIndex, unsigned int endIndex ) 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 String &str ) const;
int compareTo( const char* str ) const; //added int compareTo( const char* str ) const; //added