diff options
author | Eugene Sandulenko | 2009-05-05 10:54:56 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-05-05 10:54:56 +0000 |
commit | 66067b0b6afc755497aa24be9fb9a2e5b2051303 (patch) | |
tree | c3176a95758da9761aea86fd1917a782dca98092 /backends/keymapper/hardware-key.h | |
parent | 274d890f5b9430c44fdaa24a2c67faf54fd4cb18 (diff) | |
download | scummvm-rg350-66067b0b6afc755497aa24be9fb9a2e5b2051303.tar.gz scummvm-rg350-66067b0b6afc755497aa24be9fb9a2e5b2051303.tar.bz2 scummvm-rg350-66067b0b6afc755497aa24be9fb9a2e5b2051303.zip |
Fix keymapper compilation
svn-id: r40320
Diffstat (limited to 'backends/keymapper/hardware-key.h')
-rw-r--r-- | backends/keymapper/hardware-key.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/keymapper/hardware-key.h b/backends/keymapper/hardware-key.h index c89c395d33..f42076f75b 100644 --- a/backends/keymapper/hardware-key.h +++ b/backends/keymapper/hardware-key.h @@ -74,7 +74,7 @@ class HardwareKeySet { public: virtual ~HardwareKeySet() { - List<const HardwareKey*>::iterator it; + List<const HardwareKey*>::const_iterator it; for (it = _keys.begin(); it != _keys.end(); it++) delete *it; } @@ -85,7 +85,7 @@ public: } const HardwareKey *findHardwareKey(const char *id) const { - List<const HardwareKey*>::iterator it; + List<const HardwareKey*>::const_iterator it; for (it = _keys.begin(); it != _keys.end(); it++) { if (strncmp((*it)->hwKeyId, id, HWKEY_ID_SIZE) == 0) return (*it); @@ -94,7 +94,7 @@ public: } const HardwareKey *findHardwareKey(const KeyState& keystate) const { - List<const HardwareKey*>::iterator it; + List<const HardwareKey*>::const_iterator it; for (it = _keys.begin(); it != _keys.end(); it++) { if ((*it)->key == keystate) return (*it); |