From: Olivier Goffart Date: Sat, 25 Feb 2012 09:39:34 +0000 (+0100) Subject: RemoveRef should not remove the const X-Git-Tag: qt-v5.0.0-alpha1~759 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3688fac0402d0737985b2e70dcb0b96117902d93;p=profile%2Fivi%2Fqtbase.git RemoveRef should not remove the const This does not fix anything, because AreArgumentsCompatible already do all the type checks. But it make RemoveRef consistant with std::remove_reference Change-Id: Ic42c872356172d7f5ea10de050254b5d10e50a6e Reviewed-by: Thiago Macieira --- diff --git a/src/corelib/kernel/qobject_impl.h b/src/corelib/kernel/qobject_impl.h index 5adffb7..419fcc1 100644 --- a/src/corelib/kernel/qobject_impl.h +++ b/src/corelib/kernel/qobject_impl.h @@ -52,7 +52,6 @@ QT_BEGIN_NAMESPACE namespace QtPrivate { template struct RemoveRef { typedef T Type; }; - template struct RemoveRef { typedef T Type; }; template struct RemoveRef { typedef T Type; }; template struct RemoveConstRef { typedef T Type; }; template struct RemoveConstRef { typedef T Type; };