1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -12,7 +12,7 @@ WindowList& WindowList::the()
return s_the;
}
Window* WindowList::find_parent(const Window& window)
Window* WindowList::find_parent(Window const& window)
{
if (!window.parent_identifier().is_valid())
return nullptr;
@ -24,7 +24,7 @@ Window* WindowList::find_parent(const Window& window)
return nullptr;
}
Window* WindowList::window(const WindowIdentifier& identifier)
Window* WindowList::window(WindowIdentifier const& identifier)
{
auto it = m_windows.find(identifier);
if (it != m_windows.end())
@ -32,7 +32,7 @@ Window* WindowList::window(const WindowIdentifier& identifier)
return nullptr;
}
Window& WindowList::ensure_window(const WindowIdentifier& identifier)
Window& WindowList::ensure_window(WindowIdentifier const& identifier)
{
auto it = m_windows.find(identifier);
if (it != m_windows.end())
@ -43,7 +43,7 @@ Window& WindowList::ensure_window(const WindowIdentifier& identifier)
return window_ref;
}
void WindowList::remove_window(const WindowIdentifier& identifier)
void WindowList::remove_window(WindowIdentifier const& identifier)
{
m_windows.remove(identifier);
}