From 5752d8df58673355e101a581daf05bf90ff1715a Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 22 May 2020 15:10:46 -0400 Subject: [PATCH] remove const and fix type of static_cast nvcc with gcc 8 complains that the const here is unnecessary. --- include/deal.II/base/table_indices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/table_indices.h b/include/deal.II/base/table_indices.h index 3c9cd89677..f855eb00dd 100644 --- a/include/deal.II/base/table_indices.h +++ b/include/deal.II/base/table_indices.h @@ -115,7 +115,7 @@ protected: template template constexpr TableIndices::TableIndices(const T... args) - : indices{static_cast(args)...} + : indices{static_cast(args)...} { static_assert(internal::TemplateConstraints::all_true< std::is_integral::value...>::value, -- 2.39.5