$NetBSD: patch-ac,v 1.3 2017/09/10 01:49:40 dholland Exp $

Catch up to C++ standards drift.

--- async/ihash.h.orig	2002-05-28 10:29:16.000000000 +0000
+++ async/ihash.h
@@ -213,10 +213,10 @@ class ihash
   const H hash;
 
 public:
-  ihash () {}
+  ihash () : eq (E ()), hash (H ()) {}
   ihash (const E &e, const H &h) : eq (e), hash (h) {}
 
-  void insert (V *elm) { insert_val (elm, hash (elm->*key)); }
+  void insert (V *elm) { this->insert_val (elm, hash (elm->*key)); }
 
 #if 0
   template<class T> V *operator[] (const T &k) const {
@@ -224,16 +224,16 @@ public:
   V *operator[] (const K &k) const {
 #endif
     V *v;
-    for (v = lookup_val (hash (k));
+    for (v = this->lookup_val (hash (k));
 	 v && !eq (k, v->*key);
-	 v = next_val (v))
+	 v = this->next_val (v))
       ;
     return v;
   }
 
   V *nextkeq (V *v) {
     const K &k = v->*key;
-    while ((v = next_val (v)) && !eq (k, v->*key))
+    while ((v = this->next_val (v)) && !eq (k, v->*key))
       ;
     return v;
   };
@@ -288,20 +288,20 @@ public:
   shash () {}
   shash (const E &e, const H &h) : eq (e), hash (h) {}
 
-  void insert (V *elm) { insert_val (elm, hash (*elm)); }
+  void insert (V *elm) { this->insert_val (elm, hash (*elm)); }
 
   V *operator[] (const V &k) const {
     V *v;
-    for (v = lookup_val (hash (k));
+    for (v = this->lookup_val (hash (k));
 	 v && !eq (k, *v);
-	 v = next_val (v))
+	 v = this->next_val (v))
       ;
     return v;
   }
 
   V *nextkeq (V *v) {
     const V &k = *v;
-    while ((v = next_val (v)) && !eq (k, *v))
+    while ((v = this->next_val (v)) && !eq (k, *v))
       ;
     return v;
   };
