diff options
Diffstat (limited to 'src/gui/widgets/progressindicator.h')
-rw-r--r-- | src/gui/widgets/progressindicator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/progressindicator.h b/src/gui/widgets/progressindicator.h index 13cab227..428bbd02 100644 --- a/src/gui/widgets/progressindicator.h +++ b/src/gui/widgets/progressindicator.h @@ -23,6 +23,8 @@ #include <guichan/widget.hpp> +#include <memory> + class SimpleAnimation; /** @@ -39,7 +41,7 @@ public: void draw(gcn::Graphics *graphics) override; private: - SimpleAnimation *mIndicator; + std::unique_ptr<SimpleAnimation> mIndicator; }; #endif // PROGRESSINDICATOR_H |