-COMMENT(-- $Id: versioninfo.yo,v 1.14 2004-05-08 17:18:21 pcg Exp $ --)
+COMMENT(-- $Id: versioninfo.yo,v 1.15 2004-05-30 19:12:42 root Exp $ --)
DEFINEMACRO(RXVTNAME)(0)
(rxvt)
DEFINEMACRO(RXVTDATE)(0)
- (2004-05-08)
+ (2004-05-10)
DEFINEMACRO(RXVTVERSION)(0)
- (2.9)
+ (3.0)
DEFINEMACRO(RXVTMAINT)(0)
(Marc A. Lehmann)
DEFINEMACRO(RXVTMAINTEMAIL)(0)
void erase_unordered (unsigned int pos)
{
- watcher *w = (*this)[size () - 1];
- pop_back ();
+ watcher *w = (*this)[this->size () - 1];
+ this->pop_back ();
- if (size ())
+ if (this->size ())
if ((*this)[pos] = w)
w->active = pos + 1;
}
template<class T>
T *refcache<T>::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))
{
if (obj && obj->init ())
{
- push_back (obj);
+ this->push_back (obj);
return obj;
}
else
if (!--obj->referenced)
{
- erase (find (begin (), end (), obj));
+ this->erase (find (this->begin (), this->end (), obj));
delete obj;
}
}
template<class T>
refcache<T>::~refcache ()
{
- while (size ())
- put (*begin ());
+ while (this->size ())
+ put (*this->begin ());
}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-template refcache<rxvt_display>;
+template class refcache<rxvt_display>;
refcache<rxvt_display> displays;
/////////////////////////////////////////////////////////////////////////////