diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-06-08 19:36:27 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-08 19:14:24 +0200 |
commit | 7ac196974de3a85430f4ccd1db883943853d8ae0 (patch) | |
tree | efc838bfc282a16379e1c80b7f3e721a6eb8b297 /Userland/Services/WindowServer/Menubar.cpp | |
parent | 3d94b5051d8a783858cde04eb4d2e1ecf63ac180 (diff) | |
download | serenity-7ac196974de3a85430f4ccd1db883943853d8ae0.zip |
Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&>
Diffstat (limited to 'Userland/Services/WindowServer/Menubar.cpp')
-rw-r--r-- | Userland/Services/WindowServer/Menubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/Menubar.cpp b/Userland/Services/WindowServer/Menubar.cpp index 34991bee79..3bd9ecea88 100644 --- a/Userland/Services/WindowServer/Menubar.cpp +++ b/Userland/Services/WindowServer/Menubar.cpp @@ -21,7 +21,7 @@ Menubar::~Menubar() void Menubar::add_menu(Menu& menu) { - m_menus.append(&menu); + m_menus.append(menu); } } |