diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2021-04-21 11:11:38 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-21 20:49:49 +0200 |
commit | ece8aeaaf439ce786be06a084788b2c507ae5bf1 (patch) | |
tree | c390980568eef266b15a7582eb5265ca97486388 /AK/Format.h | |
parent | 42bfaef0bb24b3100e1659dbb8e6a060644d056a (diff) | |
download | serenity-ece8aeaaf439ce786be06a084788b2c507ae5bf1.zip |
Everywhere: Remove redundant inline keyword with constexpr
Problem:
- `constexpr` functions are additionally decorated with `inline`
keyword. This is redundant since `constexpr` implies `inline`.
Solution:
- Remove redundancies.
Diffstat (limited to 'AK/Format.h')
-rw-r--r-- | AK/Format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Format.h b/AK/Format.h index 3193c79220..2054d30768 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -432,10 +432,10 @@ void dmesgln(CheckedFormatString<Parameters...>&& fmt, const Parameters&... para #endif template<typename T, typename = void> -inline constexpr bool HasFormatter = true; +constexpr bool HasFormatter = true; template<typename T> -inline constexpr bool HasFormatter<T, typename Formatter<T>::__no_formatter_defined> = false; +constexpr bool HasFormatter<T, typename Formatter<T>::__no_formatter_defined> = false; template<typename T> class FormatIfSupported { |