aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-03-18 21:45:27 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-03-18 21:45:27 -0400
commit7dea0522f48641106f92b1511b9e62ee46f8e2dc (patch)
tree5bb53c95b207a9d352859b60cf3fb004abbbc37d /cores/arduino/WString.h
parent45884b1231e43acdce51b381975977a3601e77d0 (diff)
Starting to distinguish between empty strings and invalid (null) ones.
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r--cores/arduino/WString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index 6c07427..18b6541 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -43,7 +43,7 @@ class String
{
public:
// constructors
- String(const char *cstr = NULL);
+ String(const char *cstr = "");
String(const String &str);
#ifdef __GXX_EXPERIMENTAL_CXX0X__
String(String &&rval);