From 2c39ccb63e1888981b684dfa9a0a92c5ded35f37 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 29 Jul 2003 11:49:34 +0000 Subject: Update to 0.6 Unbreak on 5.x PR: 53747 Submitted by: Sergey Matveychuk Approved by: fjoe (mentor) (implicit) Maintainer timeout: 1 month --- net/easysoap/files/patch-include::SOAPHashMap.h | 92 +++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 net/easysoap/files/patch-include::SOAPHashMap.h (limited to 'net/easysoap/files/patch-include::SOAPHashMap.h') diff --git a/net/easysoap/files/patch-include::SOAPHashMap.h b/net/easysoap/files/patch-include::SOAPHashMap.h new file mode 100644 index 000000000000..7a1365d1afa2 --- /dev/null +++ b/net/easysoap/files/patch-include::SOAPHashMap.h @@ -0,0 +1,92 @@ +--- include/easysoap/SOAPHashMap.h.orig Thu Jun 26 09:58:31 2003 ++++ include/easysoap/SOAPHashMap.h Thu Jun 26 10:05:23 2003 +@@ -117,13 +117,13 @@ + { + private: + const SOAPHashMap *m_map; +- Elements::Iterator m_index; ++ typename Elements::Iterator m_index; + HashElement *m_he; + + friend class SOAPHashMap; + + // private constuctor that can only be called by SOAPHashMap +- ForwardHashMapIterator(const SOAPHashMap *map, Elements::Iterator index) ++ ForwardHashMapIterator(const SOAPHashMap *map, typename Elements::Iterator index) + : m_map(map), m_index(index), m_he(0) + { + if (m_map) +@@ -134,7 +134,7 @@ + } + } + +- ForwardHashMapIterator(const SOAPHashMap *map, Elements::Iterator index, HashElement *he) ++ ForwardHashMapIterator(const SOAPHashMap *map, typename Elements::Iterator index, HashElement *he) + : m_map(map), m_index(index), m_he(he) + { + } +@@ -366,8 +366,8 @@ + { + Clear(); + Resize(r.GetNumBuckets()); +- SOAPHashMap::Iterator e = r.End(); +- for (SOAPHashMap::Iterator it = r.Begin(); it != e; ++it) ++ typename SOAPHashMap::Iterator e = r.End(); ++ for (typename SOAPHashMap::Iterator it = r.Begin(); it != e; ++it) + Add(it.Key(), it.Item()); + } + return *this; +@@ -397,7 +397,7 @@ + */ + Iterator Begin() const + { +- return Iterator(this, (Elements::Iterator)m_elements.Begin()); ++ return Iterator(this, (typename Elements::Iterator)m_elements.Begin()); + } + + /** +@@ -407,7 +407,7 @@ + */ + Iterator End() const + { +- return Iterator(this, (Elements::Iterator)m_elements.End()); ++ return Iterator(this, (typename Elements::Iterator)m_elements.End()); + } + + +@@ -491,7 +491,7 @@ + */ + void Clear() + { +- for (Elements::Iterator i = m_elements.Begin(); i != m_elements.End(); ++i) ++ for (typename Elements::Iterator i = m_elements.Begin(); i != m_elements.End(); ++i) + { + HashElement *he = *i; + while (he) +@@ -512,7 +512,7 @@ + */ + void Empty() + { +- Elements::Iterator i; ++ typename Elements::Iterator i; + for (i = m_elements.Begin(); i != m_elements.End(); ++i) + { + HashElement *he = *i; +@@ -588,7 +588,7 @@ + while (he) + { + if (he->m_hash == hash && equals(he->m_key, key)) +- return Iterator(this, (Elements::Iterator)m_elements.Begin() + index, he); ++ return Iterator(this, (typename Elements::Iterator)m_elements.Begin() + index, he); + he = he->m_next; + } + } +@@ -603,7 +603,7 @@ + + Elements newelements; + newelements.Resize(newsize); +- Elements::Iterator i; ++ typename Elements::Iterator i; + + for (i = newelements.Begin(); i != newelements.End(); ++i) + *i = 0; -- cgit v1.2.3