performance Prefer prefix ++/-- operators for non-primitive types.

This commit is contained in:
satbaby
2012-04-28 10:56:27 +02:00
parent f36ee26d87
commit bb347b3a44
41 changed files with 117 additions and 117 deletions

View File

@@ -48,10 +48,10 @@ Helpbox::Helpbox()
Helpbox::~Helpbox()
{
for (ContentLines::iterator it = m_lines.begin();
it != m_lines.end(); it++)
it != m_lines.end(); ++it)
{
for (std::vector<Drawable*>::iterator it2 = it->begin();
it2 != it->end(); it2++)
it2 != it->end(); ++it2)
{
delete *it2;
}