From f540bc2de8cefe784c71b3401ebaf971043546e7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Feb 2002 03:34:52 +0000 Subject: 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. --- src/KeyMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3