aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorPatrick Roncagliolo <ronca.pat@gmail.com>2017-01-07 00:16:34 +0100
committerPatrick Roncagliolo <ronca.pat@gmail.com>2017-01-07 19:48:12 +0100
commit5cd4e8c3999aca48ed51b82e7c5c21392d80ab2f (patch)
treef6c73f50c6d382845f89b6b38c4be5c457bd252c /cores/arduino/WString.h
parent546721420d6525fb75866e913af0f47fb7155807 (diff)
Change double quotes to single quotes
- "." is a string literal, and so is treated as the char '.' plus the null char '\0'. - Single quotes reduces the necessary memory for this literal to only one char instead. A string literal as the one actually present may require the use of the method "write(const char *str)", so there could be also a performance overhead. - Another reason to change quotes style is for consistency with line 235. Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
Diffstat (limited to 'cores/arduino/WString.h')
0 files changed, 0 insertions, 0 deletions