From f233af5de4bae2f640fde6edad60adbd77a4f422 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 9 Jun 2020 04:17:13 -0400 Subject: [PATCH] CAnimation: Convert typedefs into using aliases Same behavior, nicer readability --- src/Core/Resource/Animation/CAnimation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Resource/Animation/CAnimation.h b/src/Core/Resource/Animation/CAnimation.h index 3c875a67..655c6472 100644 --- a/src/Core/Resource/Animation/CAnimation.h +++ b/src/Core/Resource/Animation/CAnimation.h @@ -13,9 +13,9 @@ class CAnimation : public CResource DECLARE_RESOURCE_TYPE(Animation) friend class CAnimationLoader; - typedef std::vector TScaleChannel; - typedef std::vector TRotationChannel; - typedef std::vector TTranslationChannel; + using TScaleChannel = std::vector; + using TRotationChannel = std::vector; + using TTranslationChannel = std::vector; float mDuration = 0.0f; float mTickInterval = 0.0333333f;