[libcxx] r283945 - Remove extraneous 'const' in the implementation of is_move_assignable. Howard pleads temporary insanity about this. Discussed at http://stackoverflow.com/questions/39986185
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 11 14:24:06 PDT 2016
Author: marshall
Date: Tue Oct 11 16:24:06 2016
New Revision: 283945
URL: http://llvm.org/viewvc/llvm-project?rev=283945&view=rev
Log:
Remove extraneous 'const' in the implementation of is_move_assignable. Howard pleads temporary insanity about this. Discussed at http://stackoverflow.com/questions/39986185
Modified:
libcxx/trunk/include/type_traits
Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=283945&r1=283944&r2=283945&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Tue Oct 11 16:24:06 2016
@@ -2082,7 +2082,7 @@ template <class _Tp> _LIBCPP_CONSTEXPR b
template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_move_assignable
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
: public is_assignable<typename add_lvalue_reference<_Tp>::type,
- const typename add_rvalue_reference<_Tp>::type> {};
+ typename add_rvalue_reference<_Tp>::type> {};
#else
: public is_copy_assignable<_Tp> {};
#endif
More information about the cfe-commits
mailing list