summaryrefslogtreecommitdiff
path: root/net/liblive/patches/patch-ad
blob: 1a04296642f097b1302f7898bc16af014f6dd1af (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
$NetBSD: patch-ad,v 1.1 2006/03/22 22:51:52 joerg Exp $

--- BasicUsageEnvironment/include/BasicHashTable.hh.orig	2006-03-22 22:39:07.000000000 +0000
+++ BasicUsageEnvironment/include/BasicHashTable.hh
@@ -33,8 +33,16 @@ class BasicHashTable: public HashTable {
 public:
   BasicHashTable(int keyType);
   virtual ~BasicHashTable();
-  class TableEntry; // forward
-  
+
+private:
+  class TableEntry {
+  public:
+    TableEntry* fNext;
+    char const* key;
+    void* value;
+  };
+
+public:
   // Used to iterate through the members of the table:
   class Iterator: public HashTable::Iterator {
   public:
@@ -57,14 +65,8 @@ private: // implementation of inherited 
   // Returns 0 if not found
   virtual Boolean IsEmpty() const;
   
-private:
-  class TableEntry {
-  public:
-    TableEntry* fNext;
-    char const* key;
-    void* value;
-  };
 
+private:
   TableEntry* lookupKey(char const* key, unsigned& index) const;
     // returns entry matching "key", or NULL if none
   Boolean keyMatches(char const* key1, char const* key2) const;