forked from bblanchon/ArduinoJson
Added string deduplication (closes #1303)
This commit is contained in:
1 parent
8ef226bcb8
commit
764ff2cd53
31 files changed
+574
-156
No files matched your search
@@ -9,6 +9,9 @@
|
||||
// Reproduces Arduino's String class
|
||||
class String {
|
||||
public:
|
||||
String() {}
|
||||
explicit String(const char* s) : _str(s) {}
|
||||
|
||||
String& operator+=(const char* rhs) {
|
||||
_str += rhs;
|
||||
return *this;
|
||||
|
||||
Reference in new issue
Block a user