From 040916239f9f297a9ceedb8dcd7f2c3210a616c0 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 31 Dec 2014 12:37:24 +0100 Subject: [PATCH] That cast operator is useless Intel Compiler even warns about that: .../include/CGAL/Iterator_range.h(51): warning #597: ""CGAL::Iterator_range::operator [...]" will not be called for implicit or explicit conversions operator Base() const ^ --- STL_Extension/include/CGAL/Iterator_range.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/STL_Extension/include/CGAL/Iterator_range.h b/STL_Extension/include/CGAL/Iterator_range.h index 6e17a9a2c80..c6df9741b90 100644 --- a/STL_Extension/include/CGAL/Iterator_range.h +++ b/STL_Extension/include/CGAL/Iterator_range.h @@ -48,11 +48,6 @@ namespace CGAL { : Base(ip) {} - operator Base() const - { - return std::make_pair(begin(),end()); - } - I begin() const { return this->first;