--- rxvt-unicode/src/rxvtcolor.C 2004/04/08 20:31:45 1.14 +++ rxvt-unicode/src/rxvtcolor.C 2004/05/30 19:12:42 1.15 @@ -57,7 +57,7 @@ template T *refcache::get (const char *id) { - for (T **i = begin (); i < end (); ++i) + for (T **i = this->begin (); i < this->end (); ++i) { if (!strcmp (id, (*i)->id)) { @@ -72,7 +72,7 @@ if (obj && obj->init ()) { - push_back (obj); + this->push_back (obj); return obj; } else @@ -90,7 +90,7 @@ if (!--obj->referenced) { - erase (find (begin (), end (), obj)); + this->erase (find (this->begin (), this->end (), obj)); delete obj; } } @@ -98,8 +98,8 @@ template refcache::~refcache () { - while (size ()) - put (*begin ()); + while (this->size ()) + put (*this->begin ()); } ///////////////////////////////////////////////////////////////////////////// @@ -309,7 +309,7 @@ ///////////////////////////////////////////////////////////////////////////// -template refcache; +template class refcache; refcache displays; /////////////////////////////////////////////////////////////////////////////