From e534f00706589437592ea50cafd13011b7068041 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 17 Mar 2020 21:23:59 -0400 Subject: [PATCH] CAuiEnergyBarT01: Convert typedef into using alias Same behavior, but nicer to read. --- Runtime/GuiSys/CAuiEnergyBarT01.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/GuiSys/CAuiEnergyBarT01.hpp b/Runtime/GuiSys/CAuiEnergyBarT01.hpp index 3c46af65e..5acd77ae8 100644 --- a/Runtime/GuiSys/CAuiEnergyBarT01.hpp +++ b/Runtime/GuiSys/CAuiEnergyBarT01.hpp @@ -16,7 +16,7 @@ class CSimplePool; class CAuiEnergyBarT01 : public CGuiWidget { public: - typedef std::pair (*FCoordFunc)(float t); + using FCoordFunc = std::pair (*)(float t); enum class ESetMode { Normal, Wrapped, Insta }; private: