Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jitlayers: use std::make_tuple instead of tuple constructor (#56287)
this should be safer for the type deduction and fixes a build error for macos on Yggdrasil (JuliaPackaging/Yggdrasil#9660): ``` src/jitlayers.cpp:665:54: error: no viable constructor or deduction guide for deduction of template arguments of 'tuple' 665 | incompletemodules.insert(std::pair(codeinst, std::tuple(std::move(params), waiting))); ``` The Yggdrasil environment is a bit special with a rather new clang (version 17) but an old macos sdk and I don't know exactly in which circumstances this triggers. But I think `std::make_tuple` should be more reliable when the tuple types are not specified. cc: @fingolfin
- Loading branch information