From 632ed6cf41c45786c738732d6e10d3d2bf988690 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Tue, 11 Jan 2022 00:09:01 +0100 Subject: [PATCH] Make constexpr for itself constexpr --- util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.hpp b/util.hpp index 35d2e78..680e2ce 100644 --- a/util.hpp +++ b/util.hpp @@ -110,7 +110,7 @@ inline constexpr auto make_offset_index_sequence() } template -auto for_constexpr(Fn &&func, index_sequence) +constexpr auto for_constexpr(Fn &&func, index_sequence) { if constexpr (util::is_void_v>>) { (func(util::integral_constant{}), ...);