aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTarek Soliman2012-02-14 23:33:34 -0600
committerTarek Soliman2012-02-15 10:07:08 -0600
commitdbcd177606818f3b50a4b4700d9789bd0dea862c (patch)
tree11dc24fbdf97af78ddf8814ca0ac1979c761bc4b /backends
parent1e2019d2084ecdaa568e3eeeb32d642d446725f8 (diff)
downloadscummvm-rg350-dbcd177606818f3b50a4b4700d9789bd0dea862c.tar.gz
scummvm-rg350-dbcd177606818f3b50a4b4700d9789bd0dea862c.tar.bz2
scummvm-rg350-dbcd177606818f3b50a4b4700d9789bd0dea862c.zip
KEYMAPPER: Make some parameters const
Diffstat (limited to 'backends')
-rw-r--r--backends/keymapper/hardware-key.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/keymapper/hardware-key.h b/backends/keymapper/hardware-key.h
index 713b086791..2b9280516a 100644
--- a/backends/keymapper/hardware-key.h
+++ b/backends/keymapper/hardware-key.h
@@ -109,7 +109,7 @@ public:
delete *it;
}
- void addHardwareKey(HardwareKey *key) {
+ void addHardwareKey(const HardwareKey *key) {
checkForKey(key);
_keys.push_back(key);
}
@@ -177,7 +177,7 @@ public:
private:
- void checkForKey(HardwareKey *key) {
+ void checkForKey(const HardwareKey *key) {
List<const HardwareKey*>::iterator it;
for (it = _keys.begin(); it != _keys.end(); it++) {