mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 10:05:32 +00:00
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:
parent
7e2ee2e725
commit
07f4e91b94
|
@ -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; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue