• Patrick Roncagliolo's avatar
    Change double quotes to single quotes · 5cd4e8c3
    Patrick Roncagliolo authored
    - "." 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: default avatarPatrick Roncagliolo <ronca.pat@gmail.com>
    5cd4e8c3
Print.cpp 5.31 KB