From 37e4ddb10709270b346e0ead1f5e9b482946887a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 22 Apr 2016 16:29:10 +0200 Subject: [PATCH] const& --- AABB_tree/include/CGAL/AABB_tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AABB_tree/include/CGAL/AABB_tree.h b/AABB_tree/include/CGAL/AABB_tree.h index 26470133277..4aa1fd6a50c 100644 --- a/AABB_tree/include/CGAL/AABB_tree.h +++ b/AABB_tree/include/CGAL/AABB_tree.h @@ -416,7 +416,7 @@ public: // call this member function. template boost::optional< typename Intersection_and_primitive_id::Type > - first_intersection_and_primitive(const Ray& query, SkipFunctor skip = SkipFunctor()) const; + first_intersection_and_primitive(const Ray& query, const SkipFunctor& skip = SkipFunctor()) const; // Returns the primitive id closest to the source point of the ray // query. @@ -432,7 +432,7 @@ public: // call this member function. template boost::optional - first_intersected_primitive(const Ray& query, SkipFunctor skip = SkipFunctor()) const; + first_intersected_primitive(const Ray& query, const SkipFunctor& skip = SkipFunctor()) const; ///@} /// \name Distance Queries