From: Wolfgang Bangerth Date: Tue, 18 Feb 2025 22:54:41 +0000 (-0700) Subject: Simplify code. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce5cf0c948f0b7879778dece617b97726126d8f6;p=dealii.git Simplify code. --- diff --git a/source/distributed/cell_weights.cc b/source/distributed/cell_weights.cc index 251f14f7da..280922bf7b 100644 --- a/source/distributed/cell_weights.cc +++ b/source/distributed/cell_weights.cc @@ -146,12 +146,8 @@ namespace parallel const typename dealii::Triangulation::cell_iterator &cell, const CellStatus status) -> unsigned int { - return CellWeights::weighting_callback(cell, - status, - std::cref( - dof_handler), - std::cref(*tria), - weighting_function); + return CellWeights::weighting_callback( + cell, status, dof_handler, *tria, weighting_function); }; }