Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-03-31 17:01:18 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-03-31 17:01:18 +0300
commitd55d4fee30c772f3dca0376ad95351d4e2be6478 (patch)
tree4f75dc900f471c0af8428e32faa0ce14742e0c8a
parent10272ca78817074a91c9773af8b2fb0ecabbcb93 (diff)
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.
-rw-r--r--source/blender/compositor/intern/COM_ExecutionGroup.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.cc b/source/blender/compositor/intern/COM_ExecutionGroup.cc
index 7ba787e2f52..37c363501ad 100644
--- a/source/blender/compositor/intern/COM_ExecutionGroup.cc
+++ b/source/blender/compositor/intern/COM_ExecutionGroup.cc
@@ -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);
}
}