aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/KeyMap.h')
-rw-r--r--src/KeyMap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h
index f1235d845..ee4d29ce2 100644
--- a/src/KeyMap.h
+++ b/src/KeyMap.h
@@ -32,9 +32,7 @@ public:
/**
*/
class KeyMap {
- KeyToCommand *kmap;
- int len;
- int alloc;
+ std::vector<KeyToCommand> kmap;
static const KeyToCommand MapDefault[];
public: