From 09900d3dc5158bca6ec4d40c1a770d32db413894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Mon, 6 Feb 2012 15:08:26 +0100 Subject: [PATCH] Fix position of a comment. The comment was wrongly placed. It describes v_cast function. Change-Id: I2390e4bf1fc19136bbbecbae4be83d5320ca244f Reviewed-by: Stephen Kelly --- src/corelib/kernel/qvariant_p.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/corelib/kernel/qvariant_p.h b/src/corelib/kernel/qvariant_p.h index 30159f1831..cdae8997a7 100644 --- a/src/corelib/kernel/qvariant_p.h +++ b/src/corelib/kernel/qvariant_p.h @@ -53,9 +53,6 @@ // We mean it. // -// takes a type, returns the internal void* pointer cast -// to a pointer of the input type - #include #include #include @@ -79,6 +76,8 @@ Q_STATIC_ASSERT(QVariantIntegrator::CanUseInternalSpace); #ifdef Q_CC_SUN // Sun CC picks the wrong overload, so introduce awful hack +// takes a type, returns the internal void* pointer cast +// to a pointer of the input type template inline T *v_cast(const QVariant::Private *nd, T * = 0) {