From 67c5ef5d78900e2449f9dca8691be4058e01a27f Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 7 Apr 2021 12:52:24 +1000 Subject: [PATCH] search::balanced should be constexpr --- algo/search.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algo/search.hpp b/algo/search.hpp index 1cc4ba8e..c66649ee 100644 --- a/algo/search.hpp +++ b/algo/search.hpp @@ -76,7 +76,7 @@ namespace cruft::search { /// in the first instance (otherwise the algorithm will return `begin` /// immediately. But it is not an error to do so. template - IteratorT + constexpr IteratorT balanced ( IteratorT begin, IteratorT const end,