From 68087c3aef94ae3f21cb33f58f9bd29e64475dab Mon Sep 17 00:00:00 2001 From: Louis-Charles Caron Date: Wed, 8 Nov 2023 20:07:53 +0100 Subject: [PATCH] Fix auto return type. --- include/safe/meta.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/safe/meta.h b/include/safe/meta.h index 4518c21..6abd445 100644 --- a/include/safe/meta.h +++ b/include/safe/meta.h @@ -42,9 +42,9 @@ struct index_sequence<0, Is...> }; template -constexpr auto make_index_sequence() +constexpr typename index_sequence::type make_index_sequence() { - return typename index_sequence::type(); + return {}; } } // namespace impl