From 3de04a47deff3b4e4594221cb9e32368a877ff7f Mon Sep 17 00:00:00 2001 From: Aymeric PELLE Date: Tue, 15 Apr 2014 17:22:10 +0200 Subject: [PATCH] We construct explictly wrappers in test_labeled_mesh_domain_3. --- Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp b/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp index 163f8b6a1b6..8f85dd71492 100644 --- a/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp +++ b/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp @@ -67,10 +67,12 @@ private: { FT error_bound(1e-3); - Mesh_domain domain(sphere_function, bounding_shape, error_bound); + Function_wrapper wrapper_1(sphere_function); + Mesh_domain domain(wrapper_1, bounding_shape, error_bound); test_construct_initial_points(domain, error_bound); - Mesh_domain domain_2(shape_function, bounding_shape, error_bound); + Function_wrapper wrapper_2(shape_function); + Mesh_domain domain_2(wrapper_2, bounding_shape, error_bound); test_is_in_domain(domain_2); test_do_intersect_surface(domain_2); test_construct_intersection(domain_2);