diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
commit | 4df1e68047488ec00a264c076bb3222715f42295 (patch) | |
tree | 22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/particle/particleengine.cpp | |
parent | bfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff) | |
download | manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.gz manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2 manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.xz manaverse-4df1e68047488ec00a264c076bb3222715f42295.zip |
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/particle/particleengine.cpp')
-rw-r--r-- | src/particle/particleengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/particleengine.cpp b/src/particle/particleengine.cpp index f4ac7f8d3..b63d1c53c 100644 --- a/src/particle/particleengine.cpp +++ b/src/particle/particleengine.cpp @@ -118,7 +118,7 @@ bool ParticleEngine::update() restrict2 Particle *ParticleEngine::createChild() restrict2 { - Particle *const newParticle = new Particle(); + Particle *const newParticle = new Particle; newParticle->setMap(mMap); mChildParticles.push_back(newParticle); return newParticle; @@ -190,7 +190,7 @@ Particle *ParticleEngine::addEffect(const std::string &restrict // Other else { - newParticle = new Particle(); + newParticle = new Particle; newParticle->setMap(mMap); } |