$NetBSD: patch-af,v 1.1 2006/10/21 11:53:13 agc Exp $ --- ./async/vec.h.orig 2002-05-28 11:29:16.000000000 +0100 +++ ./async/vec.h @@ -72,7 +72,14 @@ public: }; template class vec : public vec_base { + typedef typename vec_base::elm_t elm_t; + + vec_base::basep; + vec_base::firstp; + vec_base::lastp; + vec_base::limp; + void move (elm_t *dst) { if (dst == firstp) return; @@ -92,7 +99,7 @@ template class ve { return *new (implicit_cast (&e)) elm_t (v); } static void destroy (elm_t &e) { e.~elm_t (); } - void init () { lastp = firstp = basep = def_basep (); limp = def_limp (); } + void init () { lastp = firstp = basep = this->def_basep (); limp = this->def_limp (); } void del () { while (firstp < lastp) firstp++->~elm_t (); bfree (basep); } #define append(v) \