cpp : disambiguated auto keyword

This commit is contained in:
saundersp
2023-07-15 03:35:31 +02:00
parent 4cd659ea8c
commit 18afd40782
5 changed files with 11 additions and 11 deletions

View File

@ -114,7 +114,7 @@ std::string thousand_sep(uint64_t k) noexcept {
std::string s = "", n = std::to_string(k);
uint8_t c = 0;
for (const auto& n_i : n) {
for (const char& n_i : n) {
++c;
s.push_back(n_i);
if (c == 3) {