diff options
Diffstat (limited to 'source/blender/functions/FN_lazy_function_execute.hh')
-rw-r--r-- | source/blender/functions/FN_lazy_function_execute.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/functions/FN_lazy_function_execute.hh b/source/blender/functions/FN_lazy_function_execute.hh index 5a80985cdc0..ade23ad17c7 100644 --- a/source/blender/functions/FN_lazy_function_execute.hh +++ b/source/blender/functions/FN_lazy_function_execute.hh @@ -67,6 +67,7 @@ inline void execute_lazy_function_eagerly_impl( ( [&]() { constexpr size_t I = InIndices; + /* Use `typedef` instead of `using` to work around a compiler bug. */ typedef Inputs T; const CPPType &type = CPPType::get<T>(); input_pointers[I] = {type, &std::get<I>(inputs)}; @@ -75,6 +76,7 @@ inline void execute_lazy_function_eagerly_impl( ( [&]() { constexpr size_t I = OutIndices; + /* Use `typedef` instead of `using` to work around a compiler bug. */ typedef Outputs T; const CPPType &type = CPPType::get<T>(); output_pointers[I] = {type, std::get<I>(outputs)}; |