From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/gui/widgets/progressindicator.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/gui/widgets/progressindicator.h') diff --git a/src/gui/widgets/progressindicator.h b/src/gui/widgets/progressindicator.h index 2db3fe8b9..7e79d0cca 100644 --- a/src/gui/widgets/progressindicator.h +++ b/src/gui/widgets/progressindicator.h @@ -32,17 +32,19 @@ class SimpleAnimation; */ class ProgressIndicator final : public gcn::Widget { -public: - ProgressIndicator(); + public: + ProgressIndicator(); - ~ProgressIndicator(); + A_DELETE_COPY(ProgressIndicator); - void logic() override; + ~ProgressIndicator(); - void draw(gcn::Graphics *graphics) override; + void logic() override; -private: - SimpleAnimation *mIndicator; + void draw(gcn::Graphics *graphics) override; + + private: + SimpleAnimation *mIndicator; }; #endif // PROGRESSINDICATOR_H -- cgit v1.2.3-70-g09d2