summaryrefslogtreecommitdiff
path: root/Userland/Services/NotificationServer/NotificationWindow.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Services/NotificationServer/NotificationWindow.cpp
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Services/NotificationServer/NotificationWindow.cpp')
-rw-r--r--Userland/Services/NotificationServer/NotificationWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/NotificationServer/NotificationWindow.cpp b/Userland/Services/NotificationServer/NotificationWindow.cpp
index 0c87849ce8..7ab7847c97 100644
--- a/Userland/Services/NotificationServer/NotificationWindow.cpp
+++ b/Userland/Services/NotificationServer/NotificationWindow.cpp
@@ -19,7 +19,7 @@ namespace NotificationServer {
static HashMap<u32, RefPtr<NotificationWindow>> s_windows;
-static void update_notification_window_locations(const Gfx::IntRect& screen_rect)
+static void update_notification_window_locations(Gfx::IntRect const& screen_rect)
{
Gfx::IntRect last_window_rect;
for (auto& window_entry : s_windows) {
@@ -37,7 +37,7 @@ static void update_notification_window_locations(const Gfx::IntRect& screen_rect
}
}
-NotificationWindow::NotificationWindow(i32 client_id, const String& text, const String& title, const Gfx::ShareableBitmap& icon)
+NotificationWindow::NotificationWindow(i32 client_id, String const& text, String const& title, Gfx::ShareableBitmap const& icon)
{
m_id = client_id;
s_windows.set(m_id, this);