1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

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.
This commit is contained in:
Lenny Maiorani 2021-04-21 11:11:38 -06:00 committed by Linus Groh
parent 42bfaef0bb
commit ece8aeaaf4
7 changed files with 65 additions and 65 deletions

View file

@ -319,7 +319,7 @@ private:
RGBA32 m_value { 0 };
};
inline constexpr Color::Color(NamedColor named)
constexpr Color::Color(NamedColor named)
{
if (named == Transparent) {
m_value = 0;