summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/patches/patch-src_Utilities_Set.cpp
blob: 74d03dbfd930fe350b255e0dcca0b4dcb151505a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-src_Utilities_Set.cpp,v 1.2 2012/12/22 20:01:45 joerg Exp $

--- src/Utilities/Set.cpp.orig	2008-03-17 18:56:18.000000000 +0000
+++ src/Utilities/Set.cpp
@@ -39,7 +39,7 @@ QValueList<T> Utilities::Set<T>::toList(
 }
 
 template <class T>
-Utilities::Set<T>::Set<T>& Utilities::Set<T>::operator+=(const Set<T>& other)
+Utilities::Set<T>& Utilities::Set<T>::operator+=(const Set<T>& other)
 {
     for (typename Set<T>::const_iterator i = other.begin();
          i != other.end(); ++i)
@@ -48,11 +48,11 @@ Utilities::Set<T>::Set<T>& Utilities::Se
 }
 
 template <class T>
-Utilities::Set<T>::Set<T>& Utilities::Set<T>::operator-=(const Set<T>& other)
+Utilities::Set<T>& Utilities::Set<T>::operator-=(const Set<T>& other)
 {
     for (typename Set<T>::const_iterator i = other.begin();
          i != other.end(); ++i)
-        erase(*i);
+        this->erase(*i);
     return *this;
 }