summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh4
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" },
});