AK: Use proper type for bool NumericLimits::min and max specialization

We had these declared as returning char, which looks like a copy paste
error. Found by clang-tidy.
This commit is contained in:
Andrew Kaster 2021-10-30 15:57:08 -06:00 committed by Andreas Kling
parent 7e2ee2e725
commit 07f4e91b94

View file

@ -16,8 +16,8 @@ struct NumericLimits {
template<>
struct NumericLimits<bool> {
static constexpr char min() { return false; }
static constexpr char max() { return true; }
static constexpr bool min() { return false; }
static constexpr bool max() { return true; }
static constexpr bool is_signed() { return false; }
};