summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-10-17 22:48:22 +1100
committerMaxime Coste <mawww@kakoune.org>2019-10-17 22:48:22 +1100
commit3c34de7fe7db607fe2c0519471b8d3c4935ce717 (patch)
treed56eabe2b96ce448d48103931836d01e6ee34411 /src/input_handler.hh
parenta5d662f7febe0eb0acba3b368ed94b82232bf681 (diff)
Remove explicit sizes from make_array calls
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 3304b67e..62c8ca65 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -148,7 +148,7 @@ constexpr bool with_bit_ops(Meta::Type<AutoInfo>) { return true; }
constexpr auto enum_desc(Meta::Type<AutoInfo>)
{
- return make_array<EnumDesc<AutoInfo>, 3>({
+ return make_array<EnumDesc<AutoInfo>>({
{ AutoInfo::Command, "command"},
{ AutoInfo::OnKey, "onkey"},
{ AutoInfo::Normal, "normal" }
@@ -165,7 +165,7 @@ constexpr bool with_bit_ops(Meta::Type<AutoComplete>) { return true; }
constexpr auto enum_desc(Meta::Type<AutoComplete>)
{
- return make_array<EnumDesc<AutoComplete>, 3>({
+ return make_array<EnumDesc<AutoComplete>>({
{ AutoComplete::Insert, "insert"},
{ AutoComplete::Prompt, "prompt" }
});