From 7f42651fdd5a7d575ffdde89c369fe28cad2ced5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Jan 2024 05:10:44 +0100 Subject: a --- compat/map.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat') diff --git a/compat/map.hpp b/compat/map.hpp index def97d0e..9bcceadb 100644 --- a/compat/map.hpp +++ b/compat/map.hpp @@ -17,9 +17,9 @@ constexpr auto map0(const std::array& array, const F& fun, std::index_sequ template [[deprecated("zero-length array!")]] CORRADE_ALWAYS_INLINE -constexpr auto map0(const std::array&, const F& fun, std::index_sequence<>) +constexpr auto map0(const std::array&, const F&, std::index_sequence<>) { - return std::array()) )> , 0>{}; + return std::array, const std::remove_cvref_t&>>, 0>{}; } } // namespace floormat::detail::map -- cgit v1.2.3