mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue