We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aeea12 commit 2c5c3dbCopy full SHA for 2c5c3db
cores/esp8266/WString.h
@@ -53,7 +53,7 @@ class String {
53
// if the initial value is null or invalid, or if memory allocation
54
// fails, the string will be marked as invalid (i.e. "if (s)" will
55
// be false).
56
- String(const char *cstr = nullptr);
+ String(const char *cstr = "");
57
String(const String &str);
58
String(const __FlashStringHelper *str);
59
#ifdef __GXX_EXPERIMENTAL_CXX0X__
0 commit comments