Workaround for msvc compiler bug

This is the same issue as in rB2e8089b6bf50.
This commit is contained in:
2022-09-15 09:33:57 +02:00
parent 5d69958442
commit 5c4295ee6f

View File

@@ -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)};
}(),