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:
authorJacques Lucke <jacques@blender.org>2022-09-15 10:33:57 +0300
committerJacques Lucke <jacques@blender.org>2022-09-15 10:34:20 +0300
commit5c4295ee6f92a92dbb442b1a6ffd1eb2e9adc57d (patch)
tree36bb0a0b8076fb1d98ecbbb55fb0066cd0bfffd0 /source/blender/functions/FN_lazy_function_execute.hh
parent5d69958442216b926b7d64f259099cd00beea376 (diff)
Workaround for msvc compiler bug
This is the same issue as in rB2e8089b6bf50.
Diffstat (limited to 'source/blender/functions/FN_lazy_function_execute.hh')
-rw-r--r--source/blender/functions/FN_lazy_function_execute.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/functions/FN_lazy_function_execute.hh b/source/blender/functions/FN_lazy_function_execute.hh
index a59d363a9d5..5a80985cdc0 100644
--- a/source/blender/functions/FN_lazy_function_execute.hh
+++ b/source/blender/functions/FN_lazy_function_execute.hh
@@ -67,7 +67,7 @@ inline void execute_lazy_function_eagerly_impl(
(
[&]() {
constexpr size_t I = InIndices;
- using T = Inputs;
+ typedef Inputs T;
const CPPType &type = CPPType::get<T>();
input_pointers[I] = {type, &std::get<I>(inputs)};
}(),
@@ -75,7 +75,7 @@ inline void execute_lazy_function_eagerly_impl(
(
[&]() {
constexpr size_t I = OutIndices;
- using T = Outputs;
+ typedef Outputs T;
const CPPType &type = CPPType::get<T>();
output_pointers[I] = {type, std::get<I>(outputs)};
}(),