mirror of https://github.com/CGAL/cgal
Change the name in the profiler of Do_intersect_3 static filter
Do_intersect_3 has a template member function. If one use CGAL_PRETTY_FUNCTION as function name, then the compiler gives the full name of the function, with its parameters.
This commit is contained in:
parent
befa7c8e08
commit
8e44b6acde
|
|
@ -82,7 +82,8 @@ public:
|
|||
result_type
|
||||
operator()(const Segment_3 &s, const Bbox_3& b) const
|
||||
{
|
||||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Do_intersect_3", tmp);
|
||||
CGAL_BRANCH_PROFILER_3(std::string("semi-static failures/attempts/calls to : ") +
|
||||
std::string(CGAL_PRETTY_FUNCTION), tmp);
|
||||
|
||||
Get_approx<Point_3> get_approx; // Identity functor for all points
|
||||
// but lazy points
|
||||
|
|
@ -287,7 +288,8 @@ public:
|
|||
result_type
|
||||
operator()(const Ray_3 &r, const Bbox_3& b) const
|
||||
{
|
||||
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Do_intersect_3", tmp);
|
||||
CGAL_BRANCH_PROFILER_3(std::string("semi-static failures/attempts/calls to : ") +
|
||||
std::string(CGAL_PRETTY_FUNCTION), tmp);
|
||||
|
||||
Get_approx<Point_3> get_approx; // Identity functor for all points
|
||||
// but lazy points.
|
||||
|
|
|
|||
Loading…
Reference in New Issue