From 111f0c3d3a49d6ae924a03e00afaf1acea5c8793 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 30 Mar 2020 00:18:35 -0400 Subject: [PATCH] IRenderer: Convert typedef to using alias Same behavior, but nicer to read. --- Runtime/Graphics/IRenderer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Graphics/IRenderer.hpp b/Runtime/Graphics/IRenderer.hpp index 83c2e9aef..377c613e9 100644 --- a/Runtime/Graphics/IRenderer.hpp +++ b/Runtime/Graphics/IRenderer.hpp @@ -27,7 +27,7 @@ struct SShader; class IRenderer { public: - typedef void (*TDrawableCallback)(const void*, const void*, int); + using TDrawableCallback = void (*)(const void*, const void*, int); using TReflectionCallback = std::function; enum class EDrawableSorting { SortedCallback, UnsortedCallback };