summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Tray.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-02-20 19:03:44 +0100
committerAndreas Kling <kling@serenityos.org>2023-02-21 00:54:04 +0100
commitfaa1a09042d61724417e78db8283b73f3393f77f (patch)
treed9bb9b392f58a37ecb825a89374df2113409191e /Userland/Libraries/LibGUI/Tray.cpp
parentbfe081caadceaabf9104fbc464d15d705752a78f (diff)
downloadserenity-faa1a09042d61724417e78db8283b73f3393f77f.zip
LibGUI: Fix const-correctness issues
Diffstat (limited to 'Userland/Libraries/LibGUI/Tray.cpp')
-rw-r--r--Userland/Libraries/LibGUI/Tray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Tray.cpp b/Userland/Libraries/LibGUI/Tray.cpp
index dccfc5d223..d91cc3655d 100644
--- a/Userland/Libraries/LibGUI/Tray.cpp
+++ b/Userland/Libraries/LibGUI/Tray.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
+ * Copyright (c) 2021-2023, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
@@ -33,7 +33,7 @@ Gfx::IntRect Tray::Item::rect(Tray const& tray) const
};
}
-size_t Tray::add_item(DeprecatedString text, RefPtr<Gfx::Bitmap> bitmap, DeprecatedString custom_data)
+size_t Tray::add_item(DeprecatedString text, RefPtr<Gfx::Bitmap const> bitmap, DeprecatedString custom_data)
{
auto new_index = m_items.size();