Ah yes, I'll need to dig that patch up. It is not completed, but maybe
martin can complete it.
Marc
On Tue, 2010-11-09 at 13:18 +1100, Martin Sevior wrote:
> Sorry, misspelt uwog email address
>
> On Tue, Nov 9, 2010 at 1:17 PM, Martin Sevior wrote:
> > This is a known
Well, this is basic for-loop stuff: the expression "it = next" in the
for loop will be executed before the continuation condition it !=
m_clients.end() will be executed.
--
TCPAccountHandler.cpp: bad erase
https://bugs.launchpad.net/bugs/479947
You received this bug notification because you are a
The code is perfectly fine, since the iterator is not used anymore after
the erase. You can see it by looking at the loop condition:
for (std::map
>::iterator it = m_clients.begin(); it != m_clients.end(); it = next)
{
next = it;