Make threadCount a const member of ReduceKernel
Change-Id: I8e75263d3e02a6e6a20520ebecfdb4e40b562bbf Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
parent
eb5d8efc51
commit
bd877e76a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user