From aef5053e87c93a8987f89e4fdaf6cf3dd23efe81 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Apr 2014 21:08:02 +0300 Subject: fix code style. --- src/particle/particleemitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particle') diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp index 27f01d4e1..54c3623c4 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -574,7 +574,7 @@ std::list ParticleEmitter::createParticles(const int tick) Particle *newParticle = nullptr; if (mParticleImage) { - const std::string name = mParticleImage->getIdPath(); + const std::string &name = mParticleImage->getIdPath(); if (ImageParticle::imageParticleCountByName.find(name) == ImageParticle::imageParticleCountByName.end()) { -- cgit v1.2.3-70-g09d2