diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-01-29 10:40:19 -0700 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-29 21:45:17 +0200 |
commit | b0a54518d89cfad8fdc7a85576f72894bb40c950 (patch) | |
tree | 11c39a327e2cde47b8f9266a75ecdd35c7c8a1ad /AK/MemMem.h | |
parent | e28af4a2fc2596502ab7d31bdd6d64a50abe6c5d (diff) | |
download | serenity-b0a54518d89cfad8fdc7a85576f72894bb40c950.zip |
Everywhere: Remove redundant inline keyword
`constexpr` implies `inline` so when both are used it is redundant.
Diffstat (limited to 'AK/MemMem.h')
-rw-r--r-- | AK/MemMem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/MemMem.h b/AK/MemMem.h index 25a2e455b0..ee49e116e7 100644 --- a/AK/MemMem.h +++ b/AK/MemMem.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -15,7 +15,7 @@ namespace AK { namespace Detail { -inline constexpr const void* bitap_bitwise(const void* haystack, size_t haystack_length, const void* needle, size_t needle_length) +constexpr const void* bitap_bitwise(const void* haystack, size_t haystack_length, const void* needle, size_t needle_length) { VERIFY(needle_length < 32); |