summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 5ece1308..b044e7b6 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -53,7 +53,7 @@ struct SpriteDisplay
std::list<std::string> particles;
};
-typedef std::list<SpriteReference>::const_iterator SpriteRefs;
+using SpriteRefs = std::list<SpriteReference>::const_iterator;
/*
* Remember those are the main action.
@@ -115,7 +115,7 @@ class SpriteDef : public Resource
private:
SpriteDef() {}
- ~SpriteDef();
+ ~SpriteDef() override;
/**
* Loads a sprite element.
@@ -156,10 +156,10 @@ class SpriteDef : public Resource
*/
void substituteAction(std::string complete, std::string with);
- typedef std::map<std::string, ImageSet*> ImageSets;
- typedef ImageSets::iterator ImageSetIterator;
+ using ImageSets = std::map<std::string, ImageSet *>;
+ using ImageSetIterator = ImageSets::iterator;
- typedef std::map<std::string, Action*> Actions;
+ using Actions = std::map<std::string, Action *>;
ImageSets mImageSets;
Actions mActions;