--- gvpe/src/iom.h 2004/11/11 17:41:55 1.22 +++ gvpe/src/iom.h 2004/11/12 10:23:33 1.24 @@ -1,5 +1,5 @@ /* - iom.h -- generic I/O multiplexor + iom.h -- generic I/O multiplexer Copyright (C) 2003, 2004 Marc Lehmann This program is free software; you can redistribute it and/or modify @@ -74,7 +74,7 @@ watcher *w = (*this)[this->size () - 1]; this->pop_back (); - if (this->size ()) + if (!this->empty ()) if (((*this)[pos] = w)) // '=' is correct! w->active = pos + 1; }