[v3] Fix two typos in <type_traits>

Submitted by Paolo Carlini on June 9, 2011, 8:04 a.m.

Details

Message ID 4DF07EA5.2040607@oracle.com
State New
Headers show

Commit Message

Paolo Carlini June 9, 2011, 8:04 a.m.
Hi,

tested x86_64-linux, committed.

Thanks,
Paolo.

////////////////
2011-06-09  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/type_traits (__is_copy_assignable_impl,
	__is_nt_copy_assignable_impl): Fix typos.

Patch hide | download patch | download mbox

Index: include/std/type_traits
===================================================================
--- include/std/type_traits	(revision 174838)
+++ include/std/type_traits	(working copy)
@@ -1029,7 +1029,7 @@ 
 
   template<typename _Tp>
     struct __is_copy_assignable_impl<_Tp, false>
-    : public is_assignable<_Tp&, const _Tp&&>
+    : public is_assignable<_Tp&, const _Tp&>
     { };
 
   /// is_copy_assignable
@@ -1077,7 +1077,7 @@ 
 
   template<typename _Tp>
     struct __is_nt_copy_assignable_impl<_Tp, false>
-    : public is_nothrow_assignable<_Tp&, const _Tp&&>
+    : public is_nothrow_assignable<_Tp&, const _Tp&>
     { };
 
   /// is_nothrow_copy_assignable