From 3c34de7fe7db607fe2c0519471b8d3c4935ce717 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 17 Oct 2019 22:48:22 +1100 Subject: Remove explicit sizes from make_array calls --- src/input_handler.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input_handler.hh') 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) { return true; } constexpr auto enum_desc(Meta::Type) { - return make_array, 3>({ + return make_array>({ { AutoInfo::Command, "command"}, { AutoInfo::OnKey, "onkey"}, { AutoInfo::Normal, "normal" } @@ -165,7 +165,7 @@ constexpr bool with_bit_ops(Meta::Type) { return true; } constexpr auto enum_desc(Meta::Type) { - return make_array, 3>({ + return make_array>({ { AutoComplete::Insert, "insert"}, { AutoComplete::Prompt, "prompt" } }); -- cgit v1.2.3