From d3ee6b2b9356969109b7eeb3040306934ca14001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 6 Apr 2023 13:20:18 +0200 Subject: [PATCH] Trade: simplify by delegating to another AnimationTrackData constructor. --- src/Magnum/Trade/AnimationData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Trade/AnimationData.h b/src/Magnum/Trade/AnimationData.h index d3c6d71ed..367d25967 100644 --- a/src/Magnum/Trade/AnimationData.h +++ b/src/Magnum/Trade/AnimationData.h @@ -367,7 +367,7 @@ class AnimationTrackData { * Equivalent to the above with @p type used as both value type and * result type. */ - explicit AnimationTrackData(AnimationTrackType type, AnimationTrackTarget targetName, UnsignedLong target, Animation::TrackViewStorage view) noexcept: _type{type}, _resultType{type}, _targetName{targetName}, _target{target}, _view{view} {} + explicit AnimationTrackData(AnimationTrackType type, AnimationTrackTarget targetName, UnsignedLong target, Animation::TrackViewStorage view) noexcept: AnimationTrackData{type, type, targetName, target, view} {} /** * @brief Constructor