From 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 01:19:46 +0300 Subject: Add unused warnings to some files. --- src/particle.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/particle.h') diff --git a/src/particle.h b/src/particle.h index 4dc419aea..9d510b9ae 100644 --- a/src/particle.h +++ b/src/particle.h @@ -113,13 +113,13 @@ class Particle : public Actor /** * Necessary for sorting with the other sprites. */ - virtual int getPixelY() const override + virtual 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 + virtual int getSortPixelY() const override A_WARN_UNUSED { return static_cast(mPos.y) - 16; } /** @@ -230,7 +230,7 @@ class Particle : public Actor /** * Gets the flag if the particle is supposed to be moved by its parent */ - bool doesFollow() const + bool doesFollow() const A_WARN_UNUSED { return mFollow; } /** @@ -258,13 +258,13 @@ class Particle : public Actor void setAllowSizeAdjust(const bool adjust) { mAllowSizeAdjust = adjust; } - bool isAlive() const + bool isAlive() const A_WARN_UNUSED { return mAlive == ALIVE; } /** * Determines whether the particle and its children are all dead */ - bool isExtinct() const + bool isExtinct() const A_WARN_UNUSED { return !isAlive() && mChildParticles.empty(); } /** -- cgit v1.2.3-60-g2f50