From d3951a5b0f4fe9731d1512668b43f51bd98bd84e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 11 Nov 2011 17:55:46 -0200 Subject: Remove the use of a template qUnused function for ICC ICC 12 does not seem to need this. Change-Id: I98e9d530e767c4d24424f0c2b5d763f863e85fe4 Reviewed-by: Stephen Kelly Reviewed-by: Bradley T. Hughes --- src/corelib/global/qglobal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib') diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 7d91fa3ca9..cc0e6a17fd 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -820,7 +820,7 @@ Q_CORE_EXPORT bool qSharedBuild(); Avoid "unused parameter" warnings */ -#if defined(Q_CC_INTEL) && !defined(Q_OS_WIN) || defined(Q_CC_RVCT) +#if defined(Q_CC_RVCT) template inline void qUnused(T &x) { (void)x; } # define Q_UNUSED(x) qUnused(x); -- cgit v1.2.3