From: Daniel Arndt Date: Sun, 20 Jan 2019 23:09:53 +0000 (+0100) Subject: Avoid boost::container::small_vector::emplace_back X-Git-Tag: v9.1.0-rc1~420^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae2d4935c4f4b18ce200510a1033ed665bf6939;p=dealii.git Avoid boost::container::small_vector::emplace_back --- diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 99ea39747b..c13d73f405 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -2187,7 +2187,8 @@ TransfiniteInterpolationManifold:: cell->real_to_unit_cell_affine_approximation(points[i]); current_distance += GeometryInfo::distance_to_unit_cell(point); } - distances_and_cells.emplace_back(current_distance, cell->index()); + distances_and_cells.push_back( + std::make_pair(current_distance, cell->index())); } // no coarse cell could be found -> transformation failed AssertThrow(distances_and_cells.size() > 0,