[*] Remove const from AuTupleForEachs tuple input parameter; allow for the modification of each element under the callback
This commit is contained in:
parent
cd9ef9eee2
commit
f0a36d431a
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user