From 085cc38c0b82ea99947ca3eebeaee2451952df2d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 16 Jul 2015 16:01:51 +0200 Subject: [PATCH] if(this) is always true --- .../include/CGAL/Apollonius_graph_hierarchy_vertex_base_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apollonius_graph_2/include/CGAL/Apollonius_graph_hierarchy_vertex_base_2.h b/Apollonius_graph_2/include/CGAL/Apollonius_graph_hierarchy_vertex_base_2.h index b6fee001eee..279e4b8b570 100644 --- a/Apollonius_graph_2/include/CGAL/Apollonius_graph_hierarchy_vertex_base_2.h +++ b/Apollonius_graph_2/include/CGAL/Apollonius_graph_hierarchy_vertex_base_2.h @@ -58,7 +58,7 @@ public: Vertex_handle up() {return _up;} Vertex_handle down() {return _down;} void set_up(Vertex_handle u) {_up=u;} - void set_down(Vertex_handle d) {if (this) _down=d;} + void set_down(Vertex_handle d) {_down=d;} private: