summaryrefslogtreecommitdiff
path: root/src/option.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/option.hh
parenta5d662f7febe0eb0acba3b368ed94b82232bf681 (diff)
Remove explicit sizes from make_array calls
Diffstat (limited to 'src/option.hh')
-rw-r--r--src/option.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.hh b/src/option.hh
index 3c114b30..db8be775 100644
--- a/src/option.hh
+++ b/src/option.hh
@@ -77,7 +77,7 @@ constexpr bool with_bit_ops(Meta::Type<DebugFlags>) { return true; }
constexpr auto enum_desc(Meta::Type<DebugFlags>)
{
- return make_array<EnumDesc<DebugFlags>, 5>({
+ return make_array<EnumDesc<DebugFlags>>({
{ DebugFlags::Hooks, "hooks" },
{ DebugFlags::Shell, "shell" },
{ DebugFlags::Profile, "profile" },