diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-08-18 08:15:18 +0700 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-08-18 08:15:18 +0700 |
| commit | 65bac9c027828a27c0e2fd9c2f6ace00ad5b8df2 (patch) | |
| tree | af8d090a30012c96ef7c28b6e5c485c544441576 /src/input_handler.hh | |
| parent | e0e9b8bae4121baa78c09d0e12342d742b784bb0 (diff) | |
Respecify EnumDescs array sizes manually to workaround clang-3.6 bug
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index 71d93220..e4cad6d0 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -138,7 +138,7 @@ constexpr bool with_bit_ops(Meta::Type<AutoInfo>) { return true; } constexpr auto enum_desc(Meta::Type<AutoInfo>) { - return make_array<EnumDesc<AutoInfo>>({ + return make_array<EnumDesc<AutoInfo>, 3>({ { AutoInfo::Command, "command"}, { AutoInfo::OnKey, "onkey"}, { AutoInfo::Normal, "normal" } |
