From feed7ba17bea202163a5d888026add386b1692f6 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Fri, 27 Oct 2017 15:51:17 +0200 Subject: [PATCH] Remove decltype(auto) (cxx14) --- include/deal.II/base/patterns.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index 8d12d0b5f0..5e5de71143 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -1925,9 +1925,10 @@ namespace Patterns template static - decltype(auto) to_string_internal_1(const T &t, - const Patterns::Tuple &pattern, - std_cxx14::index_sequence) + std::array::value> + to_string_internal_1(const T &t, + const Patterns::Tuple &pattern, + std_cxx14::index_sequence) { std::array::value> a = {{ @@ -1939,8 +1940,9 @@ namespace Patterns } static - decltype(auto) to_string_internal_2(const T &t, - const Patterns::Tuple &pattern) + std::array::value> + to_string_internal_2(const T &t, + const Patterns::Tuple &pattern) { return Convert::to_string_internal_1(t, pattern, std_cxx14::make_index_sequence::value> {}); -- 2.39.5