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 <stephen.kelly@kdab.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
1904970dad
commit
d3951a5b0f
@ -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 <typename T>
|
||||
inline void qUnused(T &x) { (void)x; }
|
||||
# define Q_UNUSED(x) qUnused(x);
|
||||
|
Loading…
Reference in New Issue
Block a user