From ea653e232c60dfeb2bf32d4959b5659ff2fc5f37 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 15 Nov 2022 09:58:47 -0700 Subject: [PATCH] Try to use std::make_tuple() to get around compiler warnings. --- source/base/data_out_base.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } /** -- 2.39.5