From dc6e3261ec6684f70cfd4cf1bf49a18f88e4a46e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 29 Sep 2021 19:51:16 +0300 Subject: [PATCH] Use typedef instead of using --- include/boost/core/type_name.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/core/type_name.hpp b/include/boost/core/type_name.hpp index 64d98a6..8f1df5f 100644 --- a/include/boost/core/type_name.hpp +++ b/include/boost/core/type_name.hpp @@ -131,7 +131,7 @@ template std::string tn_add_each() { std::string st; - using A = int[ sizeof...(T) + 1 ]; + typedef int A[ sizeof...(T) + 1 ]; (void)A{ 0, tn_add_each_impl( st )... }; return st;