We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
profiler->fClientTable.erase(it); delete((*it).second);
Suggest swap order of statements.
The text was updated successfully, but these errors were encountered:
Why?
Sorry, something went wrong.
After you've erased something by using an iterator, the iterator is invalid, so doing indirection on it doesn't make much sense.
Suggest use return value from erase, as per standard C++ literature.
Patch welcome.
Which steps are required to reproduce this? This is also quite old. Maybe it should be closed...
No branches or pull requests
Suggest swap order of statements.
The text was updated successfully, but these errors were encountered: