src/Server.cpp:22: error: no matching function for call to 'std::vector<_TCPsocket*, std::allocator<_TCPsocket*> >::erase(__gnu_cxx::__normal_iterator<_TCPsocket* const*, std::vector<_TCPsocket*, std::allocator<_TCPsocket*> > >&)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/bits/vector.tcc:110: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = _TCPsocket*, _Alloc = std::allocator<_TCPsocket*>] /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/bits/vector.tcc:122: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = _TCPsocket*, _Alloc = std::allocator<_TCPsocket*>]