summaryrefslogtreecommitdiffstats
path: root/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
blob: 8afc210ba5530ff645051abd86849f736947eb73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ptlib-2.6.7.orig/include/ptlib/array.h
+++ ptlib-2.6.7/include/ptlib/array.h
@@ -523,7 +523,7 @@ template <class T> class PScalarArray :
       T t;
       stream >> t;
       if (!stream.fail())
-        SetAt(index, t);
+        this->SetAt(index, t);
     }
 };

--- ptlib-2.6.7.orig/include/ptlib/safecoll.h
+++ ptlib-2.6.7/include/ptlib/safecoll.h
@@ -782,7 +782,7 @@
      */
     PSafePtr & operator=(T * obj)
       {
-        Assign(obj);
+        this->Assign(obj);
         return *this;
       }