Skip to content

Commit

Permalink
Pass keyboard helper by const& instead of copying
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Kosarek <matt.kosarek@canonical.com>
  • Loading branch information
tarek-y-ismail and mattkae authored Jan 31, 2025
1 parent 384afb6 commit f66af7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/server/mir/shell/accessibility_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class KeyboardHelper;
class AccessibilityManager
{
public:
void register_keyboard_helper(std::shared_ptr<shell::KeyboardHelper>);
void register_keyboard_helper(std::shared_ptr<shell::KeyboardHelper> const&);

std::optional<int> repeat_rate() const;
int repeat_delay() const;
Expand Down

0 comments on commit f66af7f

Please sign in to comment.