That cast operator is useless

Intel Compiler even warns about that:

.../include/CGAL/Iterator_range.h(51): warning #597:
  ""CGAL::Iterator_range<I>::operator [...]" will not be called for
  implicit or explicit conversions
      operator Base() const
      ^
This commit is contained in:
Laurent Rineau 2014-12-31 12:37:24 +01:00
parent 471396d821
commit 040916239f
1 changed files with 0 additions and 5 deletions

View File

@ -48,11 +48,6 @@ namespace CGAL {
: Base(ip) : Base(ip)
{} {}
operator Base() const
{
return std::make_pair(begin(),end());
}
I begin() const I begin() const
{ {
return this->first; return this->first;