Disable constexpr keymap as it breaks compilation with gcc 5
This commit is contained in:
parent
f76535613e
commit
d6cb10d693
|
@ -1944,9 +1944,9 @@ void force_redraw(Context& context, NormalParams)
|
|||
}
|
||||
|
||||
template<typename T, MemoryDomain domain>
|
||||
using KeymapBackend = ConstexprVector<T, 1024>;
|
||||
using KeymapBackend = Vector<T, domain>;
|
||||
|
||||
static constexpr HashMap<Key, NormalCmd, MemoryDomain::Undefined, KeymapBackend> keymap = {
|
||||
static const HashMap<Key, NormalCmd, MemoryDomain::Undefined, KeymapBackend> keymap = {
|
||||
{ {'h'}, {"move left", move<CharCount, Backward>} },
|
||||
{ {'j'}, {"move down", move<LineCount, Forward>} },
|
||||
{ {'k'}, {"move up", move<LineCount, Backward>} },
|
||||
|
|
Loading…
Reference in New Issue
Block a user