mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Everywhere: Remove redundant inline keyword
`constexpr` implies `inline` so when both are used it is redundant.
This commit is contained in:
parent
e28af4a2fc
commit
b0a54518d8
5 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
||||
* Copyright (c) 2022, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -20,7 +21,7 @@ enum class ImageFormat {
|
|||
L8A8,
|
||||
};
|
||||
|
||||
inline static constexpr size_t element_size(ImageFormat format)
|
||||
static constexpr size_t element_size(ImageFormat format)
|
||||
{
|
||||
switch (format) {
|
||||
case ImageFormat::L8:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue