diff options
author | nyamatongwe <devnull@localhost> | 2002-02-12 03:34:52 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-02-12 03:34:52 +0000 |
commit | ddefbe59033421947f57e7d57b0a390ea821d186 (patch) | |
tree | f732e4f8d903e9a91a1e875f403b6781ee897038 | |
parent | 11d2193b5c81e3c53b5f7d4c6db2b72b4228ff68 (diff) | |
download | scintilla-mirror-ddefbe59033421947f57e7d57b0a390ea821d186.tar.gz |
Made lexer objects const so they do not show up in map as static / globals.
File specific inline functions marker as static to ensure no bad linking.
-rw-r--r-- | src/KeyMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h index 8232b7160..364df684f 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -30,7 +30,7 @@ class KeyMap { KeyToCommand *kmap; int len; int alloc; - static KeyToCommand MapDefault[]; + static const KeyToCommand MapDefault[]; public: KeyMap(); |