mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-04 21:24:26 +02:00
@@ -6248,7 +6248,7 @@ read(std::basic_istream<CharT, Traits>& is, int a0, Args&& ...args)
|
|||||||
auto e = buf;
|
auto e = buf;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
*e++ = CharT(u % 10) + CharT{'0'};
|
*e++ = static_cast<CharT>(CharT(u % 10) + CharT{'0'});
|
||||||
u /= 10;
|
u /= 10;
|
||||||
} while (u > 0);
|
} while (u > 0);
|
||||||
std::reverse(buf, e);
|
std::reverse(buf, e);
|
||||||
|
Reference in New Issue
Block a user