cpp : disambiguated auto keyword
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user