summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/AppletManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/WindowServer/AppletManager.cpp')
-rw-r--r--Servers/WindowServer/AppletManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/AppletManager.cpp b/Servers/WindowServer/AppletManager.cpp
index aeabfae990..382222a1d7 100644
--- a/Servers/WindowServer/AppletManager.cpp
+++ b/Servers/WindowServer/AppletManager.cpp
@@ -71,7 +71,7 @@ void AppletManager::add_applet(Window& applet)
{
m_applets.append(applet.make_weak_ptr());
- quick_sort(m_applets.begin(), m_applets.end(), [](auto& a, auto& b) {
+ quick_sort(m_applets, [](auto& a, auto& b) {
auto index_a = order_vector.find_first_index(a->title());
auto index_b = order_vector.find_first_index(b->title());
ASSERT(index_a.has_value());