Fix -> convenience operator for non-class iterators.
[shibboleth/xmltooling.git] / xmltooling / util / XMLObjectChildrenList.h
index 69fd599..df6b860 100644 (file)
@@ -110,7 +110,7 @@ namespace xmltooling {
         }
 
         const_reference operator->() const {
-            return *(m_iter.operator->());
+            return *m_iter;
         }
 
         XMLObjectChildrenIterator& operator++() {