summaryrefslogtreecommitdiff
path: root/packages/kismet/kismet-2004-04-R1/packet_friend_fix.patch
blob: 1b72cf8ce7e2cc0d029e5eb46a52cc9adabb2a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- kismet-2004-04-R1/packet.h.orig	2005-02-04 09:12:36.000000000 +0000
+++ kismet-2004-04-R1/packet.h	2005-02-04 09:13:14.000000000 +0000
@@ -550,7 +550,7 @@
     // This isn't quite like STL iterators, because I'm too damned lazy to deal with all
     // the nasty STL hoop-jumping.  This does provide a somewhat-stl-ish interface to
     // iterating through the singleton and masked maps
-    friend class iterator {
+    class iterator {
         friend class macmap;
 
     public:
@@ -643,6 +643,7 @@
         int vector_itr;
         macmap<T> *owner;
     };
+    friend class iterator;
 
     iterator begin() {
         iterator ret(this);