From 6027993c28d8451999bb6205c185e47d914ce402 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Fri, 9 Jan 2015 17:03:36 +0000 Subject: [PATCH] K-Ballo found a place where we were using 'V' as a template parameter. Replace with '_Vp' for protection against user-defined macros. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@225527 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/type_traits | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/type_traits b/include/type_traits index f4677358a..914e8593b 100644 --- a/include/type_traits +++ b/include/type_traits @@ -1433,11 +1433,11 @@ template using make_unsigned_t = typename make_unsigned<_Tp>::type; #ifdef _LIBCPP_HAS_NO_VARIADICS -template +template struct _LIBCPP_TYPE_VIS_ONLY common_type { public: - typedef typename common_type::type, V>::type type; + typedef typename common_type::type, _Vp>::type type; }; template