diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 3c773ba7a84b..a0c1bc565c04 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -219,8 +219,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD template struct __void_t { typedef void type; }; -template -struct __identity { typedef T type; }; +template +struct __identity { typedef _Tp type; }; template struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};