From 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Feb 2015 13:20:34 +0300 Subject: Add missing override keywords. --- src/particle/particle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/particle') diff --git a/src/particle/particle.h b/src/particle/particle.h index 3fdd653e6..f5b2e561d 100644 --- a/src/particle/particle.h +++ b/src/particle/particle.h @@ -271,10 +271,10 @@ class Particle notfinal : public Actor { mAutoDelete = false; } /** We consider particles (at least for now) to be one layer-sprites */ - virtual int getNumberOfLayers() const + int getNumberOfLayers() const override final { return 1; } - virtual float getAlpha() const + float getAlpha() const override final { return 1.0F; } virtual void setAlpha(const float alpha A_UNUSED) override -- cgit v1.2.3-70-g09d2