From 8e9e762f32b6554ad8b77d6eec90d906868a4eb5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 27 Apr 2018 13:33:40 -0600 Subject: [PATCH] Fix a test for GCC 4.8.4 by doing a cast explicitly. --- tests/grid/distributed_compute_point_locations_03.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/grid/distributed_compute_point_locations_03.cc b/tests/grid/distributed_compute_point_locations_03.cc index 2e512c5fbd..92e6ef9f9c 100644 --- a/tests/grid/distributed_compute_point_locations_03.cc +++ b/tests/grid/distributed_compute_point_locations_03.cc @@ -63,7 +63,8 @@ void test_distributed_cpt(unsigned int ref_cube) // Computing bounding boxes describing the locally owned part of the mesh IteratorFilters::LocallyOwnedCell locally_owned_cell_predicate; std::vector< BoundingBox > local_bbox = GridTools::compute_mesh_predicate_bounding_box - (cube_d, locally_owned_cell_predicate, + (cube_d, + std::function::active_cell_iterator &)>(locally_owned_cell_predicate), 1, false, 4); // Obtaining the global mesh description through an all to all communication -- 2.39.5