mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +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
Notes:
sideshowbarker
2024-07-18 01:08:23 +09:00
Author: https://github.com/ADKaster
Commit: 07f4e91b94
Pull-request: https://github.com/SerenityOS/serenity/pull/10737
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/PeterBindels-TomTom
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/dascandy
Reviewed-by: https://github.com/trflynn89
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