summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject_impl.h
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-12-07 12:29:28 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-08 07:05:54 +0100
commit59fb0328392a5fc47e3a013403fe192c215d8aa7 (patch)
treee461878aa3364435f25cb99ecd924c479c9be52a /src/corelib/kernel/qobject_impl.h
parentad80d42f8eefd72d9297c272139acc70e24bfa13 (diff)
Avoid variable shadowing in qobject_impl.h
Some people like to build their Qt-based projects with -Wshadow -Werror, and since qobject_impl.h is included from a public Qt header, their build breaks. Change-Id: I5d8a5ee1937092149a18c0ff66a723f5bfc9ffc3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qobject_impl.h')
-rw-r--r--src/corelib/kernel/qobject_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qobject_impl.h b/src/corelib/kernel/qobject_impl.h
index 3c7dacf527..660294b956 100644
--- a/src/corelib/kernel/qobject_impl.h
+++ b/src/corelib/kernel/qobject_impl.h
@@ -92,7 +92,7 @@ namespace QtPrivate {
template <typename T>
struct ApplyReturnValue {
void *data;
- ApplyReturnValue(void *data) : data(data) {}
+ ApplyReturnValue(void *data_) : data(data_) {}
};
template<typename T, typename U>
void operator,(const T &value, const ApplyReturnValue<U> &container) {