From 19fe2aa8178a33bd32a911011c0ec9dcd9d90f89 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Mon, 4 Apr 2016 18:29:39 -0400 Subject: [PATCH] using -> typedef in some cases This is because MSVC 2013's using-alias support is buggy --- src/utils/functional.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/utils/functional.hpp b/src/utils/functional.hpp index c509a26fba5c..10ec58b3bdf1 100644 --- a/src/utils/functional.hpp +++ b/src/utils/functional.hpp @@ -56,37 +56,37 @@ namespace detail { template struct function_base { - using type = Ret(P...); + typedef Ret type(P...); }; template struct function_base { - using type = Ret(P...); + typedef Ret type(P...); }; template struct function_base { - using type = Ret(Class,P...); + typedef Ret type(Class,P...); }; template struct function_base { - using type = Ret(const Class,P...); + typedef Ret type(const Class,P...); }; template struct function_base { - using type = Ret(volatile Class,P...); + typedef Ret type(volatile Class,P...); }; template struct function_base { - using type = Ret(const volatile Class,P...); + typedef Ret type(const volatile Class,P...); }; template struct function_base> { - using type = Ret(P...); + typedef Ret type(P...); }; }