diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-17 20:03:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-17 20:03:14 +0300 |
commit | 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (patch) | |
tree | b1108bef76eed589fcb0028c4bd97f14510e940f /src/resources/sprite/imagesprite.h | |
parent | 72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (diff) | |
download | mv-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.gz mv-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.bz2 mv-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.xz mv-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.zip |
Remove override keyword, if it present with final.
Diffstat (limited to 'src/resources/sprite/imagesprite.h')
-rw-r--r-- | src/resources/sprite/imagesprite.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/resources/sprite/imagesprite.h b/src/resources/sprite/imagesprite.h index c3fa39fae..21ff03d90 100644 --- a/src/resources/sprite/imagesprite.h +++ b/src/resources/sprite/imagesprite.h @@ -37,42 +37,42 @@ class ImageSprite final : public Sprite ~ImageSprite(); - bool reset() override final + bool reset() final { return false; } - bool play(const std::string &action A_UNUSED) override final + bool play(const std::string &action A_UNUSED) final { return false; } - bool update(const int time A_UNUSED) override final + bool update(const int time A_UNUSED) final { return false; } void draw(Graphics *const graphics, const int posX, const int posY) - const override final A_NONNULL(2); + const final A_NONNULL(2); - int getWidth() const override final A_WARN_UNUSED + int getWidth() const final A_WARN_UNUSED { return mImage ? mImage->getWidth() : 0; } - int getHeight() const override final A_WARN_UNUSED + int getHeight() const final A_WARN_UNUSED { return mImage ? mImage->getHeight() : 0; } - const Image* getImage() const override final A_WARN_UNUSED + const Image* getImage() const final A_WARN_UNUSED { return mImage; } bool setSpriteDirection(const SpriteDirection::Type - direction A_UNUSED) override final + direction A_UNUSED) final { return false; } int getNumberOfLayers() const A_WARN_UNUSED { return 1; } - unsigned int getCurrentFrame() const override final A_WARN_UNUSED + unsigned int getCurrentFrame() const final A_WARN_UNUSED { return 0; } - unsigned int getFrameCount() const override final A_WARN_UNUSED + unsigned int getFrameCount() const final A_WARN_UNUSED { return 1; } - bool updateNumber(const unsigned num A_UNUSED) override final + bool updateNumber(const unsigned num A_UNUSED) final { return false; } private: |