| 298 | } |
| 299 | |
| 300 | void connect_manager::remove(pools_t& pools, const char* addr) |
| 301 | { |
| 302 | string buf; |
| 303 | for (pools_t::iterator it = pools.begin(); it != pools.end(); ++it) { |
| 304 | get_addr((*it)->get_key(), buf); |
| 305 | if (buf == addr) { |
| 306 | (*it)->set_delay_destroy(); |
| 307 | pools.erase(it); |
| 308 | break; |
| 309 | } |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | void connect_manager::remove(const char* addr) |
| 314 | { |
no test coverage detected