From: cantor Date: Fri, 11 May 2007 03:06:47 +0000 (+0000) Subject: Fix -> convenience operator for non-class iterators. X-Git-Tag: 1.4.1~513 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=commitdiff_plain;h=e197f07e3343cca8e532a8f1f049c7112a318f0e Fix -> convenience operator for non-class iterators. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@310 de75baf8-a10c-0410-a50a-987c0e22f00f --- diff --git a/xmltooling/util/XMLObjectChildrenList.h b/xmltooling/util/XMLObjectChildrenList.h index 69fd599..df6b860 100644 --- a/xmltooling/util/XMLObjectChildrenList.h +++ b/xmltooling/util/XMLObjectChildrenList.h @@ -110,7 +110,7 @@ namespace xmltooling { } const_reference operator->() const { - return *(m_iter.operator->()); + return *m_iter; } XMLObjectChildrenIterator& operator++() { diff --git a/xmltooling/xmltooling.vcproj b/xmltooling/xmltooling.vcproj index 66ebadc..4e94427 100644 --- a/xmltooling/xmltooling.vcproj +++ b/xmltooling/xmltooling.vcproj @@ -462,10 +462,6 @@ > - - @@ -518,10 +514,6 @@ > - -