diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-10-17 22:48:22 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-10-17 22:48:22 +1100 |
| commit | 3c34de7fe7db607fe2c0519471b8d3c4935ce717 (patch) | |
| tree | d56eabe2b96ce448d48103931836d01e6ee34411 /src/buffer.hh | |
| parent | a5d662f7febe0eb0acba3b368ed94b82232bf681 (diff) | |
Remove explicit sizes from make_array calls
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 e99d4725..ab9d3248 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -25,7 +25,7 @@ enum class EolFormat constexpr auto enum_desc(Meta::Type<EolFormat>) { - return make_array<EnumDesc<EolFormat>, 2>({ + return make_array<EnumDesc<EolFormat>>({ { EolFormat::Lf, "lf" }, { EolFormat::Crlf, "crlf" }, }); @@ -39,7 +39,7 @@ enum class ByteOrderMark constexpr auto enum_desc(Meta::Type<ByteOrderMark>) { - return make_array<EnumDesc<ByteOrderMark>, 2>({ + return make_array<EnumDesc<ByteOrderMark>>({ { ByteOrderMark::None, "none" }, { ByteOrderMark::Utf8, "utf8" }, }); |
