From 124e28787a66fc1ae882afbb5711b08620b51563 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Apr 2015 12:26:23 +0300 Subject: Remove useless virtual keywords. --- src/particle/particle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/particle/particle.h') diff --git a/src/particle/particle.h b/src/particle/particle.h index 9925a40a9..ad141ffc7 100644 --- a/src/particle/particle.h +++ b/src/particle/particle.h @@ -100,13 +100,13 @@ class Particle notfinal : public Actor /** * Necessary for sorting with the other sprites. */ - virtual int getPixelY() const override A_WARN_UNUSED + int getPixelY() const override A_WARN_UNUSED { return static_cast(mPos.y) - 16; } /** * Necessary for sorting with the other sprites for sorting only. */ - virtual int getSortPixelY() const override A_WARN_UNUSED + int getSortPixelY() const override A_WARN_UNUSED { return static_cast(mPos.y) - 16; } /** @@ -274,7 +274,7 @@ class Particle notfinal : public Actor float getAlpha() const override final { return 1.0F; } - virtual void setAlpha(const float alpha A_UNUSED) override + void setAlpha(const float alpha A_UNUSED) override { } virtual void setDeathEffect(const std::string &effectFile, -- cgit v1.2.3-70-g09d2