aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-05-03 16:22:14 +1000
committernyamatongwe <devnull@localhost>2013-05-03 16:22:14 +1000
commitb06956e4248bd4222576d35d8827c65b09fcd9d7 (patch)
tree5f5ab258ad3c16addf10f33ec0d2ecd204c032be /src/KeyMap.h
parent9f15e5c80d736bf2e5cd15f63295cd0ed82284e2 (diff)
downloadscintilla-mirror-b06956e4248bd4222576d35d8827c65b09fcd9d7.tar.gz
Replacing raw pointers and allocations with std::vector.
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: