summaryrefslogtreecommitdiff
path: root/src/particlecontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particlecontainer.cpp')
-rw-r--r--src/particlecontainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/particlecontainer.cpp b/src/particlecontainer.cpp
index 68e5f64e4..efb11ab8b 100644
--- a/src/particlecontainer.cpp
+++ b/src/particlecontainer.cpp
@@ -85,7 +85,7 @@ void ParticleList::removeLocally(Particle *particle)
}
else
{
- it++;
+ ++it;
}
}
}
@@ -93,7 +93,7 @@ void ParticleList::removeLocally(Particle *particle)
void ParticleList::clearLocally()
{
for (std::list<Particle *>::iterator it = mElements.begin();
- it != mElements.end(); it++)
+ it != mElements.end(); ++it)
{
(*it)->kill();
}
@@ -116,7 +116,7 @@ void ParticleList::moveTo(float x, float y)
}
else
{
- it++;
+ ++it;
}
}
}
@@ -172,7 +172,7 @@ void ParticleVector::moveTo(float x, float y)
ParticleContainer::moveTo(x, y);
for (std::vector<Particle *>::iterator it = mIndexedElements.begin();
- it != mIndexedElements.end(); it++)
+ it != mIndexedElements.end(); ++it)
{
if (*it)
{