From f0a36d431a769c751299266b423457c461ea9174 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Mon, 7 Aug 2023 22:49:09 +0100 Subject: [PATCH] [*] Remove const from AuTupleForEachs tuple input parameter; allow for the modification of each element under the callback --- Include/auROXTL/auTupleUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/auROXTL/auTupleUtils.hpp b/Include/auROXTL/auTupleUtils.hpp index de68b4f..246a18c 100644 --- a/Include/auROXTL/auTupleUtils.hpp +++ b/Include/auROXTL/auTupleUtils.hpp @@ -180,7 +180,7 @@ static auto AuTupleTakeRange(const AuTuple &tuple) } template -static void AuTupleForEach(const Tuple &tuple, const Invokable &callback) +static void AuTupleForEach(Tuple &tuple, const Invokable &callback) { AURORA_RUNTIME_APPLY([callback](auto& ...x) {