Change comment from lowercase int to uppercase Int
This commit is contained in:
parent
a0abbed518
commit
38fb7a6691
@ -1318,7 +1318,7 @@ inline bool isfinite(T) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Converts value to int and checks that it's in the range [0, upper).
|
// Converts value to Int and checks that it's in the range [0, upper).
|
||||||
template <typename T, typename Int, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
template <typename T, typename Int, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
||||||
inline Int to_nonnegative_int(T value, Int upper) {
|
inline Int to_nonnegative_int(T value, Int upper) {
|
||||||
FMT_ASSERT(value >= 0 && to_unsigned(value) <= to_unsigned(upper),
|
FMT_ASSERT(value >= 0 && to_unsigned(value) <= to_unsigned(upper),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user