summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentiteratekernel.h
diff options
context:
space:
mode:
authorLars Schmertmann <[email protected]>2020-07-02 15:56:26 +0200
committerLars Schmertmann <[email protected]>2020-07-03 21:10:09 +0200
commitae890390e523f0f435190654b081764df88d7b94 (patch)
tree9c19ed0c78a11c2fc875cb4b8d4c2087e251cf4b /src/concurrent/qtconcurrentiteratekernel.h
parentaf3f5b8746a31caf8457590293e3e28101ef85e3 (diff)
Avoid use of Q_UNUSED by eliminating the parameter names
This change only happens to files touched by the commit to add missing ; to Q_UNUSED. Task-number: QTBUG-82978 Change-Id: I10e6993a2bb3952cf9a262708b8573550e0dbe63 Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/concurrent/qtconcurrentiteratekernel.h')
-rw-r--r--src/concurrent/qtconcurrentiteratekernel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/concurrent/qtconcurrentiteratekernel.h b/src/concurrent/qtconcurrentiteratekernel.h
index 985b03ee792..2a7aba39119 100644
--- a/src/concurrent/qtconcurrentiteratekernel.h
+++ b/src/concurrent/qtconcurrentiteratekernel.h
@@ -168,10 +168,8 @@ public:
virtual ~IterateKernel() { }
- virtual bool runIteration(Iterator it, int index , T *result)
- { Q_UNUSED(it); Q_UNUSED(index); Q_UNUSED(result); return false; }
- virtual bool runIterations(Iterator _begin, int beginIndex, int endIndex, T *results)
- { Q_UNUSED(_begin); Q_UNUSED(beginIndex); Q_UNUSED(endIndex); Q_UNUSED(results); return false; }
+ virtual bool runIteration(Iterator, int , T *) { return false; }
+ virtual bool runIterations(Iterator, int, int, T *) { return false; }
void start() override
{