Skip to content

Commit

Permalink
Revert "Speed up empty String creation slightly (#6573)"
Browse files Browse the repository at this point in the history
This reverts commit 1aeea12.
  • Loading branch information
earlephilhower authored Oct 1, 2019
1 parent 1aeea12 commit 2c5c3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/WString.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class String {
// if the initial value is null or invalid, or if memory allocation
// fails, the string will be marked as invalid (i.e. "if (s)" will
// be false).
String(const char *cstr = nullptr);
String(const char *cstr = "");
String(const String &str);
String(const __FlashStringHelper *str);
#ifdef __GXX_EXPERIMENTAL_CXX0X__
Expand Down

0 comments on commit 2c5c3db

Please sign in to comment.