mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Various String handling cleanups (#6945)
Use the proper api (::clear(), isEmpty()) instead of doing comparisons/assignments of empty strings. Also fix mixture of tabs and spaces in the source code.
This commit is contained in:
@ -145,7 +145,7 @@ constructor:
|
||||
|
||||
.. code:: cpp
|
||||
|
||||
String(const char *cstr = ""); // constructor from const char *
|
||||
String(const char *cstr = nullptr); // constructor from const char *
|
||||
String(const String &str); // copy constructor
|
||||
String(const __FlashStringHelper *str); // constructor for flash strings
|
||||
|
||||
|
Reference in New Issue
Block a user