aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/WString.cpp1
-rw-r--r--cores/arduino/WString.h1
-rw-r--r--cores/robot/WString.cpp1
-rw-r--r--cores/robot/WString.h3
4 files changed, 1 insertions, 5 deletions
diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp
index db79da4..e462bee 100644
--- a/cores/arduino/WString.cpp
+++ b/cores/arduino/WString.cpp
@@ -134,7 +134,6 @@ inline void String::init(void)
buffer = NULL;
capacity = 0;
len = 0;
- flags = 0;
}
void String::invalidate(void)
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index b3b9f14..f801f63 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -191,7 +191,6 @@ protected:
char *buffer; // the actual char array
unsigned int capacity; // the array length minus one (for the '\0')
unsigned int len; // the String length (not counting the '\0')
- unsigned char flags; // unused, for future features
protected:
void init(void);
void invalidate(void);
diff --git a/cores/robot/WString.cpp b/cores/robot/WString.cpp
index db79da4..e462bee 100644
--- a/cores/robot/WString.cpp
+++ b/cores/robot/WString.cpp
@@ -134,7 +134,6 @@ inline void String::init(void)
buffer = NULL;
capacity = 0;
len = 0;
- flags = 0;
}
void String::invalidate(void)
diff --git a/cores/robot/WString.h b/cores/robot/WString.h
index 0404f76..f801f63 100644
--- a/cores/robot/WString.h
+++ b/cores/robot/WString.h
@@ -113,7 +113,7 @@ public:
String & operator += (const String &rhs) {concat(rhs); return (*this);}
String & operator += (const char *cstr) {concat(cstr); return (*this);}
String & operator += (char c) {concat(c); return (*this);}
- String & operator += (unsigned char num) {concat(num); return (*this);}
+ String & operator += (unsigned char num) {concat(num); return (*this);}
String & operator += (int num) {concat(num); return (*this);}
String & operator += (unsigned int num) {concat(num); return (*this);}
String & operator += (long num) {concat(num); return (*this);}
@@ -191,7 +191,6 @@ protected:
char *buffer; // the actual char array
unsigned int capacity; // the array length minus one (for the '\0')
unsigned int len; // the String length (not counting the '\0')
- unsigned char flags; // unused, for future features
protected:
void init(void);
void invalidate(void);