From 807ba474304f0fdeed7548518f5c4f22517be82b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 3 May 2013 16:22:14 +1000 Subject: Replacing raw pointers and allocations with std::vector. --- src/KeyMap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/KeyMap.h') 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 kmap; static const KeyToCommand MapDefault[]; public: -- cgit v1.2.3