summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-04 08:25:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-15 11:10:13 +0200
commita880f2ae0460422ed0edc7095ffa209e2d8d9f59 (patch)
treecb274fe80ab9eeeb22c38889a77de2c4b2ed2ef3 /opentrack/shortcuts.cpp
parent5ff7e3cbb5ccc0b2b1cd7b9bf005c0a53d76ddd7 (diff)
api: fix accidental removal of constness
Diffstat (limited to 'opentrack/shortcuts.cpp')
-rw-r--r--opentrack/shortcuts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/shortcuts.cpp b/opentrack/shortcuts.cpp
index 3773179f..ca069b2a 100644
--- a/opentrack/shortcuts.cpp
+++ b/opentrack/shortcuts.cpp
@@ -85,7 +85,7 @@ void Shortcuts::receiver(const Key& k)
}
#endif
-void Shortcuts::reload(std::vector<std::tuple<key_opts&, fun, bool>> &keys_)
+void Shortcuts::reload(const std::vector<std::tuple<key_opts&, fun, bool>> &keys_)
{
const int sz = keys_.size();
keys = std::vector<tt>();