1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Everywhere: Remove some redundant inline keywords

Functions defined inside class bodies (including static functions)
are implicitly inline, no need to type it out.
This commit is contained in:
Nico Weber 2023-01-04 12:19:27 -05:00 committed by Linus Groh
parent 5fa8068580
commit 0a3cc10bb6
7 changed files with 39 additions and 39 deletions

View file

@ -162,14 +162,14 @@ public:
public:
class ProcessProcFSTraits;
inline static Process& current()
static Process& current()
{
auto* current_thread = Processor::current_thread();
VERIFY(current_thread);
return current_thread->process();
}
inline static bool has_current()
static bool has_current()
{
return Processor::current_thread() != nullptr;
}