From: Wolfgang Bangerth Date: Tue, 30 Nov 2021 03:24:45 +0000 (-0700) Subject: Use a simpler way to initialize default arguments. X-Git-Tag: v9.4.0-rc1~788^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4bae2d6e608b9035b141591f6d5ecf42ac6e458;p=dealii.git Use a simpler way to initialize default arguments. --- diff --git a/include/deal.II/numerics/data_out_dof_data.h b/include/deal.II/numerics/data_out_dof_data.h index e66bc5208c..e36f78a2b7 100644 --- a/include/deal.II/numerics/data_out_dof_data.h +++ b/include/deal.II/numerics/data_out_dof_data.h @@ -729,8 +729,7 @@ public: const std::vector &names, const DataVectorType type = type_automatic, const std::vector - &data_component_interpretation = std::vector< - DataComponentInterpretation::DataComponentInterpretation>()); + &data_component_interpretation = {}); /** * This function is an abbreviation to the above one (see there for a @@ -755,8 +754,7 @@ public: const std::string & name, const DataVectorType type = type_automatic, const std::vector - &data_component_interpretation = std::vector< - DataComponentInterpretation::DataComponentInterpretation>()); + &data_component_interpretation = {}); /** * This function is an extension of the above one (see there for a @@ -780,8 +778,7 @@ public: const VectorType & data, const std::vector & names, const std::vector - &data_component_interpretation = std::vector< - DataComponentInterpretation::DataComponentInterpretation>()); + &data_component_interpretation = {}); /** @@ -795,8 +792,7 @@ public: const VectorType & data, const std::string & name, const std::vector - &data_component_interpretation = std::vector< - DataComponentInterpretation::DataComponentInterpretation>()); + &data_component_interpretation = {}); /** * This function is an alternative to the above ones, allowing the output of