From a75b75f514c5c92c8ad8d304b76a01a979b6134c Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 11 Oct 2016 21:24:06 +0000 Subject: [PATCH] Remove extraneous 'const' in the implementation of is_move_assignable. Howard pleads temporary insanity about this. Discussed at http://stackoverflow.com/questions/39986185 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283945 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/type_traits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/type_traits b/include/type_traits index 735eab790..06ee3e7e4 100644 --- a/include/type_traits +++ b/include/type_traits @@ -2082,7 +2082,7 @@ template _LIBCPP_CONSTEXPR bool is_copy_assignable_v template struct _LIBCPP_TYPE_VIS_ONLY is_move_assignable #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES : public is_assignable::type, - const typename add_rvalue_reference<_Tp>::type> {}; + typename add_rvalue_reference<_Tp>::type> {}; #else : public is_copy_assignable<_Tp> {}; #endif