const'ing variable
This commit is contained in:
parent
a394973762
commit
6dfea376ee
@ -205,7 +205,7 @@ public:
|
|||||||
const NodeID numberOfNodes = _graph->GetNumberOfNodes();
|
const NodeID numberOfNodes = _graph->GetNumberOfNodes();
|
||||||
Percent p (numberOfNodes);
|
Percent p (numberOfNodes);
|
||||||
|
|
||||||
unsigned maxThreads = omp_get_max_threads();
|
const unsigned maxThreads = omp_get_max_threads();
|
||||||
std::vector < _ThreadData* > threadData;
|
std::vector < _ThreadData* > threadData;
|
||||||
for ( unsigned threadNum = 0; threadNum < maxThreads; ++threadNum ) {
|
for ( unsigned threadNum = 0; threadNum < maxThreads; ++threadNum ) {
|
||||||
threadData.push_back( new _ThreadData( numberOfNodes ) );
|
threadData.push_back( new _ThreadData( numberOfNodes ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user