mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +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:
parent
42bfaef0bb
commit
ece8aeaaf4
Notes:
sideshowbarker
2024-07-18 19:17:37 +09:00
Author: https://github.com/ldm5180
Commit: ece8aeaaf4
Pull-request: https://github.com/SerenityOS/serenity/pull/6536
Reviewed-by: https://github.com/alimpfard
7 changed files with 65 additions and 65 deletions
|
@ -31,7 +31,7 @@
|
|||
namespace Crypto {
|
||||
namespace Hash {
|
||||
|
||||
inline static constexpr auto ROTATE_LEFT(u32 value, size_t bits)
|
||||
static constexpr auto ROTATE_LEFT(u32 value, size_t bits)
|
||||
{
|
||||
return (value << bits) | (value >> (32 - bits));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue