[*] Remove const from AuTupleForEachs tuple input parameter; allow for the modification of each element under the callback

This commit is contained in:
Reece Wilson 2023-08-07 22:49:09 +01:00
parent cd9ef9eee2
commit f0a36d431a

View File

@ -180,7 +180,7 @@ static auto AuTupleTakeRange(const AuTuple<Ts...> &tuple)
}
template <class Tuple, class Invokable>
static void AuTupleForEach(const Tuple &tuple, const Invokable &callback)
static void AuTupleForEach(Tuple &tuple, const Invokable &callback)
{
AURORA_RUNTIME_APPLY([callback](auto& ...x)
{