mirror of
https://github.com/fmtlib/fmt.git
synced 2024-10-02 13:02:03 +00:00
Fix typos.
This commit is contained in:
parent
7512a55aa3
commit
ad3c7855e2
@ -298,7 +298,7 @@
|
|||||||
`#1222 <https://github.com/fmtlib/fmt/issues/1222>`_).
|
`#1222 <https://github.com/fmtlib/fmt/issues/1222>`_).
|
||||||
Thanks `@alabuzhev (Alex Alabuzhev) <https://github.com/alabuzhev>`_.
|
Thanks `@alabuzhev (Alex Alabuzhev) <https://github.com/alabuzhev>`_.
|
||||||
|
|
||||||
* Fixed bugs discovered by fuzzing or during fuzzing integation
|
* Fixed bugs discovered by fuzzing or during fuzzing integration
|
||||||
(`#1124 <https://github.com/fmtlib/fmt/issues/1124>`_,
|
(`#1124 <https://github.com/fmtlib/fmt/issues/1124>`_,
|
||||||
`#1127 <https://github.com/fmtlib/fmt/issues/1127>`_,
|
`#1127 <https://github.com/fmtlib/fmt/issues/1127>`_,
|
||||||
`#1132 <https://github.com/fmtlib/fmt/issues/1132>`_,
|
`#1132 <https://github.com/fmtlib/fmt/issues/1132>`_,
|
||||||
|
@ -403,7 +403,7 @@ inline bool isfinite(T value) {
|
|||||||
return std::isfinite(value);
|
return std::isfinite(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convers 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, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
template <typename T, 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 && value <= upper, "invalid value");
|
FMT_ASSERT(value >= 0 && value <= upper, "invalid value");
|
||||||
|
Loading…
Reference in New Issue
Block a user