diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-04 08:25:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-15 11:10:13 +0200 |
commit | a880f2ae0460422ed0edc7095ffa209e2d8d9f59 (patch) | |
tree | cb274fe80ab9eeeb22c38889a77de2c4b2ed2ef3 /opentrack/shortcuts.h | |
parent | 5ff7e3cbb5ccc0b2b1cd7b9bf005c0a53d76ddd7 (diff) |
api: fix accidental removal of constness
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r-- | opentrack/shortcuts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h index fd732f89..b4a6f586 100644 --- a/opentrack/shortcuts.h +++ b/opentrack/shortcuts.h @@ -59,7 +59,7 @@ public: #endif {} - void reload(std::vector<std::tuple<key_opts&, fun, bool>> &keys_); + void reload(const std::vector<std::tuple<key_opts&, fun, bool>> &keys_); private: void bind_keyboard_shortcut(K &key, const key_opts& k, bool held); #ifdef _WIN32 |