mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Suppress a warning
This commit is contained in:
@ -147,7 +147,7 @@ template <> struct std::formatter<__int128_t> : std::formatter<long long> {
|
|||||||
auto format(__int128_t n, format_context& ctx) {
|
auto format(__int128_t n, format_context& ctx) {
|
||||||
// Format as a long long since we only want to check if it is possible to
|
// Format as a long long since we only want to check if it is possible to
|
||||||
// specialize formatter for __int128_t.
|
// specialize formatter for __int128_t.
|
||||||
return formatter<long long>::format(n, ctx);
|
return formatter<long long>::format(static_cast<long long>(n), ctx);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user