summaryrefslogtreecommitdiff
path: root/src/imagesprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r--src/imagesprite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h
index ff18e215..5a04f9ed 100644
--- a/src/imagesprite.h
+++ b/src/imagesprite.h
@@ -27,7 +27,7 @@
class Graphics;
-class ImageSprite : public Sprite
+class ImageSprite final : public Sprite
{
public:
ImageSprite(Image *image);
@@ -37,7 +37,7 @@ public:
bool reset() override
{ return false; }
- bool play(std::string action) override
+ bool play(const std::string &action) override
{ return false; }
bool update(int time) override