diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-04-09 23:41:23 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-10 02:44:13 (GMT) |
commit | 81fdb1725d38d9b73f09e5b98e690111a366234f (patch) | |
tree | 398dc7a5550bf26073d935343f9122b6be1ff163 /src/corelib/concurrent | |
parent | 45a277c80fde4bc11a9ac46d4b9e9e05f837cc41 (diff) | |
download | Qt-81fdb1725d38d9b73f09e5b98e690111a366234f.zip Qt-81fdb1725d38d9b73f09e5b98e690111a366234f.tar.gz Qt-81fdb1725d38d9b73f09e5b98e690111a366234f.tar.bz2 |
Remove unnecessary typedef, found by GCC 4.8
qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs]
Qt5 commit: d4c241a98059edaa7a4b15beb1cfd16ed041284e (qtbase)
Task-number: QTBUG-30594
Change-Id: Icc69e41c2d4e11962f0c8434236d4847b46e7d9d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/concurrent')
-rw-r--r-- | src/corelib/concurrent/qtconcurrentfilter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/concurrent/qtconcurrentfilter.h b/src/corelib/concurrent/qtconcurrentfilter.h index 50b58bd..5a70182 100644 --- a/src/corelib/concurrent/qtconcurrentfilter.h +++ b/src/corelib/concurrent/qtconcurrentfilter.h @@ -105,7 +105,6 @@ namespace QtConcurrent { template <typename Sequence, typename KeepFunctor, typename ReduceFunctor> ThreadEngineStarter<void> filterInternal(Sequence &sequence, KeepFunctor keep, ReduceFunctor reduce) { - typedef typename Sequence::const_iterator Iterator; typedef FilterKernel<Sequence, KeepFunctor, ReduceFunctor> KernelType; return startThreadEngine(new KernelType(sequence, keep, reduce)); } |