summaryrefslogtreecommitdiff
path: root/src/animator.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2017-10-31 15:01:57 +0100
committerJoel Klinghed <the_jk@opera.com>2017-10-31 15:01:57 +0100
commit38140372d8c8dd32267943d5d79b2ce2c0a032fb (patch)
tree0e2555e591092f934e05451ef4a6df18c5ddc739 /src/animator.hh
parent2e5352a1128da3ff4637561788a7da8e6b24ab9c (diff)
Use std::make_unique
Diffstat (limited to 'src/animator.hh')
-rw-r--r--src/animator.hh3
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;