From fd3223578c0a0789627a92cc63235c24e75f87c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Apr 2017 20:30:40 +0300 Subject: Remove most setters and getters from Resource class. --- src/particle/particle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particle/particle.cpp') diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp index d518a15a3..6bd07d1fb 100644 --- a/src/particle/particle.cpp +++ b/src/particle/particle.cpp @@ -101,7 +101,7 @@ Particle::~Particle() { if (mType == ParticleType::Image) { - const std::string &restrict name = mImage->getIdPath(); + const std::string &restrict name = mImage->mIdPath; StringIntMapIter it = ImageParticle::imageParticleCountByName.find(name); if (it != ImageParticle::imageParticleCountByName.end()) -- cgit v1.2.3-60-g2f50