From a17043ab9afafcaaffe7cb90bb9cba0e9de8145d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 11 May 2010 07:12:41 +0000 Subject: [PATCH] Add this and using for ansi compliance --- Partition_2/include/CGAL/Partition_2/Iterator_list.h | 2 +- Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Partition_2/include/CGAL/Partition_2/Iterator_list.h b/Partition_2/include/CGAL/Partition_2/Iterator_list.h index 4a7f5a9310a..824d10e243c 100644 --- a/Partition_2/include/CGAL/Partition_2/Iterator_list.h +++ b/Partition_2/include/CGAL/Partition_2/Iterator_list.h @@ -36,7 +36,7 @@ public: for (Iterator current = first; current != beyond; current++) { - push_back(current); + this->push_back(current); } } }; diff --git a/Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h b/Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h index 535fd30153b..7c25f466eef 100644 --- a/Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h +++ b/Partition_2/include/CGAL/Partition_2/Rotation_tree_2.h @@ -49,6 +49,7 @@ public: typedef typename internal::vector::iterator Self_iterator; typedef typename Traits::Point_2 Point_2; + using internal::vector< Rotation_tree_node_2 >::push_back; // constructor template