… | … | ||
---|---|---|---|
70 | bool activity; | 70 | bool activity; |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | void erase_unordered (unsigned int pos) | 73 | void erase_unordered (unsigned int pos) |
74 | { | 74 | { |
75 | watcher *w = (*this)[size () - 1]; | 75 | watcher *w = (*this)[this->size () - 1]; |
76 | pop_back (); | 76 | this->pop_back (); |
77 | 77 | ||
78 | if (size ()) | 78 | if (this->size ()) |
79 | if ((*this)[pos] = w) | 79 | if ((*this)[pos] = w) |
80 | w->active = pos + 1; | 80 | w->active = pos + 1; |
81 | } | 81 | } |
82 | }; | 82 | }; |
83 | 83 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |