From c5d64a7b9c60681d719fad95b383271f08744f88 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Tue, 7 Jan 2014 23:47:45 +0900 Subject: [PATCH] fix cxx14 constexpr --- sprout/algorithm/cxx14/sort.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sprout/algorithm/cxx14/sort.hpp b/sprout/algorithm/cxx14/sort.hpp index ef14a3a6..b336869b 100644 --- a/sprout/algorithm/cxx14/sort.hpp +++ b/sprout/algorithm/cxx14/sort.hpp @@ -222,7 +222,7 @@ namespace sprout { --lm1; unsigned n_swaps = 0; { - difference_type delta; + difference_type delta = 0; if (len >= 1000) { delta = len / 2; m += delta;