diff options
| author | nyamatongwe <unknown> | 2013-05-03 16:22:14 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-05-03 16:22:14 +1000 |
| commit | 807ba474304f0fdeed7548518f5c4f22517be82b (patch) | |
| tree | 231a6df69801287a220e43e5fe864c73160697f4 /src/KeyMap.h | |
| parent | e4cfb287a2b9f8a283f5347a262efd95c88014d1 (diff) | |
| download | scintilla-mirror-807ba474304f0fdeed7548518f5c4f22517be82b.tar.gz | |
Replacing raw pointers and allocations with std::vector.
Diffstat (limited to 'src/KeyMap.h')
| -rw-r--r-- | src/KeyMap.h | 4 |
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: |
