diff --git a/src/wifi/model/wifi-mgt-header.h b/src/wifi/model/wifi-mgt-header.h index 281c4842b..b58627993 100644 --- a/src/wifi/model/wifi-mgt-header.h +++ b/src/wifi/model/wifi-mgt-header.h @@ -409,7 +409,9 @@ WifiMgtHeader>::DeserializeImpl(Buffer::Iterator s auto i = start; std::apply( - [&](auto&... elems) { + // auto cannot be used until gcc 10.4 due to gcc bug 97938 + // (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97938) + [&](internal::GetStoredIeT&... elems) { ( [&] { if constexpr (std::is_same_v, Elems>)