sci-visualization/gle: remove unused patch
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 29 Jan 2017 09:21:04 +0000 (10:21 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Jan 2017 20:09:41 +0000 (21:09 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3709

sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch [deleted file]

diff --git a/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch b/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch
deleted file mode 100644 (file)
index 1a0c3a4..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
- src/gle/gle-interface/gle-base.h |    4 ++--
- src/gle/tokens/RefCount.h        |    2 +-
- src/gle/tokens/StringKeyHash.h   |    4 ++--
- 3 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/gle/gle-interface/gle-base.h b/src/gle/gle-interface/gle-base.h
-index 26ce8f3..686c2df 100644
---- a/src/gle/gle-interface/gle-base.h
-+++ b/src/gle/gle-interface/gle-base.h
-@@ -130,7 +130,7 @@ inline GLERefCountObject* GLE_SET_RC(GLERefCountObject* rc, GLERefCountObject* v
- template <class T> class GLERCVector : public vector< GLERC<T> > {
- public:
--      inline void add(T* elem) { push_back(GLERC<T>(elem)); }
-+      inline void add(T* elem) { this->push_back(GLERC<T>(elem)); }
-       inline T* get(int i) { return (*this)[i].get(); }
- };
-@@ -147,7 +147,7 @@ public:
-       }
-       void deleteAll() {
-               for (typename vector<T*>::size_type i = 0; i < vector<T*>::size(); i++) {
--                      T* elem = at(i);
-+                      T* elem = this->at(i);
-                       if (elem != NULL) delete elem;
-               }
-       }
-diff --git a/src/gle/tokens/RefCount.h b/src/gle/tokens/RefCount.h
-index eef1824..d43540b 100644
---- a/src/gle/tokens/RefCount.h
-+++ b/src/gle/tokens/RefCount.h
-@@ -125,7 +125,7 @@ public:
- template <class T> class MutableRefCountPtr : public RefCountPtr<T> {
- public:
-       inline RefCountPtr<T>& operator =(RefCountPtr<T> src) {
--              setPtr(src.get()); return *this;
-+              this->setPtr(src.get()); return *this;
-       };
- };
-diff --git a/src/gle/tokens/StringKeyHash.h b/src/gle/tokens/StringKeyHash.h
-index 7db46c3..0966676 100644
---- a/src/gle/tokens/StringKeyHash.h
-+++ b/src/gle/tokens/StringKeyHash.h
-@@ -254,7 +254,7 @@ public:
-                       return i->second;
-               } else {
-                       ElemType nelem(key);
--                      insert(StringKeyPair<ElemType>(key, nelem));
-+                      this->insert(StringKeyPair<ElemType>(key, nelem));
-                       return nelem;
-               }
-       }
-@@ -309,7 +309,7 @@ public:
-       }
-       void add_item(int key, ElemType elem) {
--              insert(IntKeyPair<ElemType>(key, elem));
-+              this->insert(IntKeyPair<ElemType>(key, elem));
-       }
- };