From: Timo Heister Date: Fri, 22 May 2020 19:10:46 +0000 (-0400) Subject: remove const and fix type of static_cast X-Git-Tag: v9.3.0-rc1~1586^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10317%2Fhead;p=dealii.git remove const and fix type of static_cast nvcc with gcc 8 complains that the const here is unnecessary. --- 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,