From: Wolfgang Bangerth Date: Tue, 3 Apr 2018 16:27:08 +0000 (-0600) Subject: Make a cast explicit. X-Git-Tag: v9.0.0-rc1~241^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc4cfc838d4198110d3f5d3088c406270c3da8d;p=dealii.git Make a cast explicit. This cast appears to be necessary for older GCC versions. --- diff --git a/tests/grid/distributed_compute_point_locations_01.cc b/tests/grid/distributed_compute_point_locations_01.cc index 8633f21be2..cf65d62a46 100644 --- a/tests/grid/distributed_compute_point_locations_01.cc +++ b/tests/grid/distributed_compute_point_locations_01.cc @@ -53,7 +53,8 @@ void test_compute_pt_loc(unsigned int n_points) // Computing the description of the locally owned part of the mesh IteratorFilters::LocallyOwnedCell locally_owned_cell_predicate; std::vector< BoundingBox > local_bbox = GridTools::compute_mesh_predicate_bounding_box - (cache.get_triangulation(), locally_owned_cell_predicate, + (cache.get_triangulation(), + std::function::active_cell_iterator &)>(locally_owned_cell_predicate), 1, true, 4); // These options should be passed // Using the distributed version of compute point location