summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-23 19:52:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-23 19:52:08 +0300
commit6d28f4d48f5cb3462765c7a1d582cea49352be1f (patch)
tree797671acb4cfbe9f5510e8d9769742f17d7a9b2c /src/resources/spritedef.h
parentecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (diff)
downloadplus-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.gz
plus-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.bz2
plus-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.xz
plus-6d28f4d48f5cb3462765c7a1d582cea49352be1f.zip
Add missing final keywords to classes.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 74960f64e..bc4f13a13 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -36,7 +36,7 @@ class Action;
class Animation;
class ImageSet;
-struct SpriteReference
+struct SpriteReference final
{
static SpriteReference *Empty;
@@ -53,7 +53,7 @@ struct SpriteReference
int variant;
};
-struct SpriteDisplay
+struct SpriteDisplay final
{
std::string image;
std::string floor;
@@ -107,7 +107,7 @@ enum SpriteDirection
/**
* Defines a class to load an animation.
*/
-class SpriteDef : public Resource
+class SpriteDef final : public Resource
{
public:
/**