Added string deduplication (closes #1303)

This commit is contained in:
Benoit Blanchon committed 2020-07-21 20:15:31 +02:00
1 parent 8ef226bcb8
commit 764ff2cd53
31 files changed
+574 -156

No files matched your search

+3
View File
@@ -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;