From: Martin Kronbichler Date: Tue, 31 Oct 2017 14:40:29 +0000 (+0100) Subject: Avoid warning. X-Git-Tag: v9.0.0-rc1~843^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5365%2Fhead;p=dealii.git Avoid warning. --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index 0777a9c96f..37b44a5463 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -322,6 +322,7 @@ namespace internal double get_component (const NumberType value, const ComponentExtractor extract_component) { + (void)extract_component; static_assert (numbers::NumberTraits::is_complex == false, "This function must not be called for complex-valued data types."); Assert (extract_component == ComponentExtractor::real_part,