diff options
Diffstat (limited to 'src/animator.hh')
| -rw-r--r-- | src/animator.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animator.hh b/src/animator.hh index c8072ac..4f9253c 100644 --- a/src/animator.hh +++ b/src/animator.hh @@ -39,7 +39,8 @@ public: virtual ~Animator() {} - static Animator* create(std::shared_ptr<Looper> const& looper); + static std::unique_ptr<Animator> create( + std::shared_ptr<Looper> const& looper); virtual void start(std::shared_ptr<Animation> const& animation, AnimationObserver* observer) = 0; |
