--- rxvt-unicode/src/iom.h 2004/01/17 01:20:01 1.7 +++ rxvt-unicode/src/iom.h 2004/02/09 07:11:49 1.10 @@ -59,9 +59,11 @@ #endif template -struct io_manager_vec : protected vector { - friend class io_manager; -protected: +struct io_manager_vec : vector { +#if IOM_CHECK + bool activity; +#endif + void erase_unordered (unsigned int pos) { watcher *w = (*this)[size () - 1]; @@ -158,7 +160,7 @@ template time_watcher (O1 *object, void (O2::*method)(time_watcher &)) - : callback1(object,method) + : callback1(object,method), at(0) { } ~time_watcher () { stop (); } };