summaryrefslogtreecommitdiff
path: root/net/easysoap/files/patch-include::SOAPHashMap.h
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2009-02-22 21:49:51 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2009-02-22 21:49:51 +0000
commitf62edf2c38dea42973a418f7d604baa16fb894c0 (patch)
treee2ea77067b37a00c26a52bf7a8ef69c9a311cc0c /net/easysoap/files/patch-include::SOAPHashMap.h
parent- The ftp/mirror port's lchat.pl file uses the old pack('S n a4 x8', ...) (diff)
Update to version 0.8.0. This updates the code to current C++ standards,
thus removing the dependeny on GCC 2.95 which prevented this port building for half a year. Move maintainership back to the ports@ pool. [1] Approved by: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> (maintainer) [1]
Notes
Notes: svn path=/head/; revision=228843
Diffstat (limited to 'net/easysoap/files/patch-include::SOAPHashMap.h')
-rw-r--r--net/easysoap/files/patch-include::SOAPHashMap.h92
1 files changed, 0 insertions, 92 deletions
diff --git a/net/easysoap/files/patch-include::SOAPHashMap.h b/net/easysoap/files/patch-include::SOAPHashMap.h
deleted file mode 100644
index 7a1365d1afa2..000000000000
--- a/net/easysoap/files/patch-include::SOAPHashMap.h
+++ /dev/null
@@ -1,92 +0,0 @@
---- 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;