From cd7ccf00c1c8f565bbfe575e6ed4b49aa37fecef Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Jul 2018 10:51:55 -0600 Subject: [PATCH] Simplify some code in DataOut_DoFData. --- .../numerics/data_out_dof_data.templates.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) 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 dd5f5343f0..b32440a613 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -1389,16 +1389,11 @@ DataOut_DoFData:: } // finally add a corresponding range - std::tuple - range(output_component, - output_component + patch_space_dim - 1, - name, - DataComponentInterpretation::component_is_part_of_vector); - - ranges.push_back(range); + ranges.push_back(std::make_tuple( + output_component, + output_component + patch_space_dim - 1, + name, + DataComponentInterpretation::component_is_part_of_vector)); // increase the 'component' counter by the appropriate amount, same // for 'i', since we have already dealt with all these components -- 2.39.5