Merge remote-tracking branch 'krobelus/cleanup'

This commit is contained in:
Maxime Coste 2022-09-09 15:37:48 +02:00
commit 6828c9cb4d
2 changed files with 1 additions and 2 deletions

View File

@ -1452,7 +1452,7 @@ KeymapMode parse_keymap_mode(StringView str, const KeymapManager::UserModeList&
return (KeymapMode)(std::distance(user_modes.begin(), it) + offset); return (KeymapMode)(std::distance(user_modes.begin(), it) + offset);
} }
static constexpr Array<StringView, 8> modes = { "normal", "insert", "menu", "prompt", "goto", "view", "user", "object" }; static constexpr auto modes = make_array<StringView>({ "normal", "insert", "menu", "prompt", "goto", "view", "user", "object" });
const CommandDesc debug_cmd = { const CommandDesc debug_cmd = {
"debug", "debug",

View File

@ -34,7 +34,6 @@ protected:
}; };
// static value register, which can be modified // static value register, which can be modified
// using operator=, so should be user modifiable
class StaticRegister : public Register class StaticRegister : public Register
{ {
public: public: