From 82472c7905732edde5be68fa2a45925fd2722ac6 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 31 May 2024 18:42:17 +0200 Subject: [PATCH] undo std::ignore --- libsrc/core/archive.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libsrc/core/archive.hpp b/libsrc/core/archive.hpp index b97b654d..d7546060 100644 --- a/libsrc/core/archive.hpp +++ b/libsrc/core/archive.hpp @@ -729,9 +729,7 @@ namespace ngcore Archive& operator&(std::tuple &t) { // call operator& for each element of the tuple - // std::ignore to avoid MSVC warning - std::ignore = - std::apply([this](auto&... arg) { std::make_tuple(((*this) & arg).IsParallel()...);}, t); + std::apply([this](auto&... arg) { std::make_tuple(((*this) & arg).IsParallel()...);}, t); return *this; }