From ef9e8793c77683b46a99daf6a57ca05facc44752 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 22:00:34 +0300 Subject: Fix code style. --- src/particle/imageparticle.h | 7 +++---- src/particle/particle.h | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/particle') diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h index fab5dd4b5..04395d870 100644 --- a/src/particle/imageparticle.h +++ b/src/particle/imageparticle.h @@ -48,10 +48,9 @@ class ImageParticle notfinal : public Particle /** * Draws the particle image */ - virtual void draw(Graphics *restrict const graphics, - const int offsetX, - const int offsetY) const - restrict2 final A_NONNULL(2); + void draw(Graphics *restrict const graphics, + const int offsetX, + const int offsetY) const restrict2 final A_NONNULL(2); void setAlpha(const float alpha) restrict2 final { mAlpha = alpha; } diff --git a/src/particle/particle.h b/src/particle/particle.h index 510fe5b6a..fe268a088 100644 --- a/src/particle/particle.h +++ b/src/particle/particle.h @@ -67,10 +67,10 @@ class Particle notfinal : public Actor /** * Draws the particle image. */ - virtual void draw(Graphics *restrict const graphics, - const int offsetX, - const int offsetY) const restrict2 override - A_CONST A_NONNULL(2); + void draw(Graphics *restrict const graphics, + const int offsetX, + const int offsetY) const restrict2 override + A_CONST A_NONNULL(2); /** * Necessary for sorting with the other sprites. -- cgit v1.2.3-60-g2f50