diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-07-29 11:49:34 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-07-29 11:49:34 +0000 |
commit | 2c39ccb63e1888981b684dfa9a0a92c5ded35f37 (patch) | |
tree | ccd1c6f71015397acb87bcc9372917e44a634f97 /net/easysoap/files/patch-include::SOAPHashMap.h | |
parent | Update to 1.2.5 (diff) |
Update to 0.6
Unbreak on 5.x
PR: 53747
Submitted by: Sergey Matveychuk <sem@ciam.ru>
Approved by: fjoe (mentor) (implicit)
Maintainer timeout: 1 month
Notes
Notes:
svn path=/head/; revision=85844
Diffstat (limited to 'net/easysoap/files/patch-include::SOAPHashMap.h')
-rw-r--r-- | net/easysoap/files/patch-include::SOAPHashMap.h | 92 |
1 files changed, 92 insertions, 0 deletions
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<K,I,H,E>; + + // 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<A,B,C,D>::Iterator e = r.End(); +- for (SOAPHashMap<A,B,C,D>::Iterator it = r.Begin(); it != e; ++it) ++ typename SOAPHashMap<A,B,C,D>::Iterator e = r.End(); ++ for (typename SOAPHashMap<A,B,C,D>::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; |