From 0a07e12d7737b990605fcd5ad130daffe3f83ee4 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 31 Oct 2017 15:40:29 +0100 Subject: [PATCH] Avoid warning. --- include/deal.II/numerics/data_out_dof_data.templates.h | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5