From 3688fac0402d0737985b2e70dcb0b96117902d93 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sat, 25 Feb 2012 10:39:34 +0100 Subject: 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 --- src/corelib/kernel/qobject_impl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/corelib/kernel') diff --git a/src/corelib/kernel/qobject_impl.h b/src/corelib/kernel/qobject_impl.h index 5adffb708f..419fcc1dd4 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; }; -- cgit v1.2.3