From eae2d4935c4f4b18ce200510a1033ed665bf6939 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 21 Jan 2019 00:09:53 +0100 Subject: [PATCH] Avoid boost::container::small_vector::emplace_back --- source/grid/manifold_lib.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5