summaryrefslogtreecommitdiff
path: root/src/particle/imageparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
commitd0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb (patch)
tree33e51821fd54d88d46df4e328f60ba148971ca55 /src/particle/imageparticle.h
parent39cec87cfa8b1605239f4b06388bbb07f2a16a89 (diff)
downloadmv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.gz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.bz2
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.xz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.zip
Add stringmap typedefs.
Diffstat (limited to 'src/particle/imageparticle.h')
-rw-r--r--src/particle/imageparticle.h4
1 files changed, 3 insertions, 1 deletions
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 <map>
class Image;
@@ -60,7 +62,7 @@ class ImageParticle notfinal : public Particle
virtual void setAlpha(const float alpha) override final
{ mAlpha = alpha; }
- static std::map<std::string, int> imageParticleCountByName;
+ static StringIntMap imageParticleCountByName;
protected:
Image *mImage; /**< The image used for this particle. */
};