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>
bb10
Kent Hansen 2011-12-07 12:29:28 +01:00 committed by Qt by Nokia
parent ad80d42f8e
commit 59fb032839
1 changed files with 1 additions and 1 deletions

View File

@ -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) {