Make threadCount a const member of ReduceKernel

Change-Id: I8e75263d3e02a6e6a20520ebecfdb4e40b562bbf
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
Jarek Kobus 2020-05-28 14:15:54 +02:00
parent eb5d8efc51
commit bd877e76a8

View File

@ -108,7 +108,8 @@ class ReduceKernel
const ReduceOptions reduceOptions;
QMutex mutex;
int progress, resultsMapSize, threadCount;
int progress, resultsMapSize;
const int threadCount;
ResultsMap resultsMap;
bool canReduce(int begin) const