mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibGUI: Avoid unnecessary copies of MenuItem pointer sets
This commit is contained in:
parent
c4a9afe31a
commit
fe9e09fa3a
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public:
|
|||
ActionGroup const* group() const { return m_action_group.ptr(); }
|
||||
void set_group(Badge<ActionGroup>, ActionGroup*);
|
||||
|
||||
HashTable<MenuItem*> menu_items() const { return m_menu_items; }
|
||||
HashTable<MenuItem*> const& menu_items() const { return m_menu_items; }
|
||||
|
||||
private:
|
||||
Action(DeprecatedString, Function<void(Action&)> = nullptr, Core::Object* = nullptr, bool checkable = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue