From d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Jan 2015 15:50:56 +0300 Subject: Add stringmap typedefs. --- src/particle/imageparticle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/particle/imageparticle.h') diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h index 0a092d966..dcc705a71 100644 --- a/src/particle/imageparticle.h +++ b/src/particle/imageparticle.h @@ -25,6 +25,8 @@ #include "particle/particle.h" +#include "utils/stringmap.h" + #include class Image; @@ -60,7 +62,7 @@ class ImageParticle notfinal : public Particle virtual void setAlpha(const float alpha) override final { mAlpha = alpha; } - static std::map imageParticleCountByName; + static StringIntMap imageParticleCountByName; protected: Image *mImage; /**< The image used for this particle. */ }; -- cgit v1.2.3-70-g09d2