From: Wolfgang Bangerth Date: Tue, 15 May 2018 07:03:26 +0000 (+0800) Subject: Avoid using std::make_pair and just use a brace-enclosed list. X-Git-Tag: v9.1.0-rc1~1145^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6596%2Fhead;p=dealii.git Avoid using std::make_pair and just use a brace-enclosed list. --- 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;