diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-11-25 22:44:20 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-11-25 22:44:20 +0000 |
commit | c55d97b1f91291b6051da537e7a0344df9e0aad0 (patch) | |
tree | f1aebf7dde4af4ccc1f679b281fb5c962995b7f9 /libcxx/include | |
parent | 50e2d7aeea6f560a7413a4ce2fb38a0ab3da1f78 (diff) | |
download | bcm5719-llvm-c55d97b1f91291b6051da537e7a0344df9e0aad0.tar.gz bcm5719-llvm-c55d97b1f91291b6051da537e7a0344df9e0aad0.zip |
Don't use T as template argument, it is part of the application
namespace.
llvm-svn: 195693
Diffstat (limited to 'libcxx/include')
-rw-r--r-- | libcxx/include/ext/__hash | 2 | ||||
-rw-r--r-- | libcxx/include/type_traits | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/ext/__hash b/libcxx/include/ext/__hash index 04975bfd052..c0523cce4a2 100644 --- a/libcxx/include/ext/__hash +++ b/libcxx/include/ext/__hash @@ -19,7 +19,7 @@ namespace __gnu_cxx { using namespace std; -template <typename T> struct _LIBCPP_TYPE_VIS_ONLY hash : public std::hash<T> +template <typename _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash : public std::hash<_Tp> { }; template <> struct _LIBCPP_TYPE_VIS_ONLY hash<const char*> diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index c4afe5e1042..0ad7b7f29d1 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -1409,7 +1409,7 @@ template <class ..._Tp> using common_type_t = typename common_type<_Tp...>::type // is_assignable -template<typename, typename T> struct __select_2nd { typedef T type; }; +template<typename, typename _Tp> struct __select_2nd { typedef _Tp type; }; template <class _Tp, class _Arg> typename __select_2nd<decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>())), true_type>::type |