undo std::ignore

This commit is contained in:
Joachim Schoeberl 2024-05-31 18:42:17 +02:00
parent 9a2dd3b63e
commit 82472c7905

View File

@ -729,9 +729,7 @@ namespace ngcore
Archive& operator&(std::tuple<T...> &t) Archive& operator&(std::tuple<T...> &t)
{ {
// call operator& for each element of the tuple // call operator& for each element of the tuple
// std::ignore to avoid MSVC warning std::apply([this](auto&... arg) { std::make_tuple(((*this) & arg).IsParallel()...);}, t);
std::ignore =
std::apply([this](auto&... arg) { std::make_tuple(((*this) & arg).IsParallel()...);}, t);
return *this; return *this;
} }