summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-08-18 08:15:18 +0700
committerMaxime Coste <mawww@kakoune.org>2017-08-18 08:15:18 +0700
commit65bac9c027828a27c0e2fd9c2f6ace00ad5b8df2 (patch)
treeaf8d090a30012c96ef7c28b6e5c485c544441576 /src/client.hh
parente0e9b8bae4121baa78c09d0e12342d742b784bb0 (diff)
Respecify EnumDescs array sizes manually to workaround clang-3.6 bug
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh
index f65208e5..daf8aa02 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -133,7 +133,7 @@ enum class Autoreload
constexpr auto enum_desc(Meta::Type<Autoreload>)
{
- return make_array<EnumDesc<Autoreload>>({
+ return make_array<EnumDesc<Autoreload>, 5>({
{ Autoreload::Yes, "yes" },
{ Autoreload::No, "no" },
{ Autoreload::Ask, "ask" },