… | |
… | |
60 | |
60 | |
61 | template<class watcher> |
61 | template<class watcher> |
62 | struct io_manager_vec : protected vector<watcher *> { |
62 | struct io_manager_vec : protected vector<watcher *> { |
63 | friend class io_manager; |
63 | friend class io_manager; |
64 | protected: |
64 | protected: |
|
|
65 | #if IOM_CHECK |
|
|
66 | bool activity; |
|
|
67 | #endif |
|
|
68 | |
65 | void erase_unordered (unsigned int pos) |
69 | void erase_unordered (unsigned int pos) |
66 | { |
70 | { |
67 | watcher *w = (*this)[size () - 1]; |
71 | watcher *w = (*this)[size () - 1]; |
68 | pop_back (); |
72 | pop_back (); |
69 | |
73 | |