Patchwork [v3] Fix two typos in <type_traits>

login
register
mail settings
Submitter Paolo Carlini
Date June 9, 2011, 8:04 a.m.
Message ID <4DF07EA5.2040607@oracle.com>
Download mbox | patch
Permalink /patch/99650/
State New
Headers show

Comments

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

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