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/buffer.hh | |
| parent | e0e9b8bae4121baa78c09d0e12342d742b784bb0 (diff) | |
Respecify EnumDescs array sizes manually to workaround clang-3.6 bug
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 4fa42d56..41b29b77 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -23,7 +23,7 @@ enum class EolFormat constexpr auto enum_desc(Meta::Type<EolFormat>) { - return make_array<EnumDesc<EolFormat>>({ + return make_array<EnumDesc<EolFormat>, 2>({ { EolFormat::Lf, "lf" }, { EolFormat::Crlf, "crlf" }, }); @@ -37,7 +37,7 @@ enum class ByteOrderMark constexpr auto enum_desc(Meta::Type<ByteOrderMark>) { - return make_array<EnumDesc<ByteOrderMark>>({ + return make_array<EnumDesc<ByteOrderMark>, 2>({ { ByteOrderMark::None, "none" }, { ByteOrderMark::Utf8, "utf8" }, }); |
