mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 04:35:41 +03: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: https://github.com/SerenityOS/serenity/commit/07f4e91b94c 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
@ -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 New Issue
Block a user