From: Wolfgang Bangerth Date: Tue, 15 Nov 2022 16:58:47 +0000 (-0700) Subject: Try to use std::make_tuple() to get around compiler warnings. X-Git-Tag: v9.5.0-rc1~843^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea653e232c60dfeb2bf32d4959b5659ff2fc5f37;p=dealii.git Try to use std::make_tuple() to get around compiler warnings. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index a52000ebaa..5fc55469b9 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -1153,7 +1153,7 @@ namespace } } - return std::tuple(n_nodes, n_cells); + return std::make_tuple(n_nodes, n_cells); } @@ -1209,8 +1209,7 @@ namespace } } - return std::tuple( - n_nodes, n_cells, n_points_and_n_cells); + return std::make_tuple(n_nodes, n_cells, n_points_and_n_cells); } /**