summaryrefslogtreecommitdiffstats
path: root/app-mobilephone/gsmlib/files/gsmlib-1.11-include-gcc34-fix.patch
blob: dda545124859dc5b6933da25f171ee72804ab32d (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- gsmlib-1.11/gsmlib/gsm_map_key.h	2002-05-14 23:38:12.000000000 +0400
+++ gsmlib-1.11-fixed/gsmlib/gsm_map_key.h	2004-08-02 00:56:40.997784696 +0400
@@ -25,6 +25,16 @@
 
   // wrapper for map key, can access Sortedtore to get sortOrder()
 
+  // compare two keys
+  template <class SortedStore> class MapKey;
+  
+  template <class SortedStore>
+    bool operator<(const MapKey<SortedStore> &x,
+                          const MapKey<SortedStore> &y);
+  template <class SortedStore>
+    bool operator==(const MapKey<SortedStore> &x,
+                           const MapKey<SortedStore> &y);
+
   template <class SortedStore> class MapKey
   {
     SortedStore &_myStore;   // my store
@@ -47,20 +57,16 @@
 
     friend
     bool operator< 
-#ifndef WIN32
-	<>
-#endif
+	<SortedStore>
 	                 (const MapKey<SortedStore> &x,
                       const MapKey<SortedStore> &y);
     friend
     bool operator==
-#ifndef WIN32
-	<>
-#endif
+	<SortedStore>
 	                  (const MapKey<SortedStore> &x,
                        const MapKey<SortedStore> &y);
   };
-
+/*
   // compare two keys
   template <class SortedStore>
     extern bool operator<(const MapKey<SortedStore> &x,
@@ -68,7 +74,7 @@
   template <class SortedStore>
     extern bool operator==(const MapKey<SortedStore> &x,
                            const MapKey<SortedStore> &y);
-  
+  */
   // MapKey members
   
   template <class SortedStore>