From 04d8c000be007f63705f750392d032d9aaa5f8ed Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Mon, 24 May 2010 11:31:08 +0000 Subject: [PATCH] Fixed syntax in equal / closing_iterator (will be iterator_facade) [SVN r62171] --- include/boost/geometry/iterators/closing_iterator.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/boost/geometry/iterators/closing_iterator.hpp b/include/boost/geometry/iterators/closing_iterator.hpp index 26b7f4d78..288bcbe71 100644 --- a/include/boost/geometry/iterators/closing_iterator.hpp +++ b/include/boost/geometry/iterators/closing_iterator.hpp @@ -55,11 +55,10 @@ struct closing_iterator this->base_reference() = m_end; } - //inline bool equal(closing_iterator const& other) const - inline bool operator==(closing_iterator const& other) const + inline bool equal(closing_iterator const& other) const { - return this->base() == other->base() - && this->m_beyond == other->m_beyond; + return this->base() == other.base() + && this->m_beyond == other.m_beyond; }