Fix compiler error in Windows
C7555 use of designated initializers requires at least '/std:c++latest' This is not supported by the current Windows compiler version.
This commit is contained in:
parent
10272ca788
commit
d55d4fee30
|
@ -129,11 +129,9 @@ void ExecutionGroup::initExecution()
|
|||
if (this->m_chunks_len != 0) {
|
||||
m_work_packages.resize(this->m_chunks_len);
|
||||
for (unsigned int index = 0; index < m_chunks_len; index++) {
|
||||
m_work_packages[index] = {
|
||||
.state = eChunkExecutionState::NotScheduled,
|
||||
.execution_group = this,
|
||||
.chunk_number = index,
|
||||
};
|
||||
m_work_packages[index].state = eChunkExecutionState::NotScheduled;
|
||||
m_work_packages[index].execution_group = this;
|
||||
m_work_packages[index].chunk_number = index;
|
||||
determineChunkRect(&m_work_packages[index].rect, index);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue