blob: ec6942018b88d1b8183cf2c2cf5a6a3f81b16027 (
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
|
$NetBSD: patch-ab,v 1.1 2005/12/23 16:59:46 joerg Exp $
--- gsmlib/gsm_map_key.h.orig 2002-05-14 19:38:12.000000000 +0000
+++ gsmlib/gsm_map_key.h
@@ -45,20 +45,12 @@ namespace gsmlib
MapKey(SortedStore &myStore, string key) :
_myStore(myStore), _strKey(key) {}
- friend
- bool operator<
-#ifndef WIN32
- <>
-#endif
- (const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y);
- friend
- bool operator==
-#ifndef WIN32
- <>
-#endif
- (const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y);
+ template <class _SortedStore> friend
+ bool operator<(const MapKey<_SortedStore> &x,
+ const MapKey<_SortedStore> &y);
+ template <class _SortedStore> friend
+ bool operator==(const MapKey<_SortedStore> &x,
+ const MapKey<_SortedStore> &y);
};
// compare two keys
|