From 3a2c864117b93e29b6fa3d8996e597349e804d1a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 15 May 2018 15:03:26 +0800 Subject: [PATCH] Avoid using std::make_pair and just use a brace-enclosed list. --- source/distributed/tria.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index bc7bc40137..7509965a7c 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3239,10 +3239,10 @@ namespace parallel #endif // add new pair with offset and pack_callback - cell_attached_data.pack_callbacks.push_back( - std::make_pair(cell_attached_data.cumulative_fixed_data_size + sizeof(CellStatus), - pack_callback) - ); + cell_attached_data.pack_callbacks.push_back({ cell_attached_data.cumulative_fixed_data_size + + sizeof(CellStatus), + pack_callback + } ); // increase counters ++cell_attached_data.n_attached_datas; -- 2.39.5