summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-07 18:07:22 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-07 18:07:22 +0100
commit4c7ea58f5d5e495e8da6cfc7e1d52a3dfcf5a893 (patch)
tree40c91fce5ac9e622e49515608033f8c98af5a8f1 /dev/ZKAKit/NewKit
parent63be0a396d95db7b629ffe64dcc543e251936b36 (diff)
IMPL: New I/O functions from assembly, still working on #8 issue.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/NewKit')
-rw-r--r--dev/ZKAKit/NewKit/Array.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev/ZKAKit/NewKit/Array.h b/dev/ZKAKit/NewKit/Array.h
index b91e5444..ebdd1016 100644
--- a/dev/ZKAKit/NewKit/Array.h
+++ b/dev/ZKAKit/NewKit/Array.h
@@ -24,11 +24,10 @@ namespace Kernel
T& operator[](const SizeT& At)
{
- MUST_PASS(At < N);
return fArray[At];
}
- T& Assign(const SizeT& At, T& NewVal)
+ T Assign(const SizeT& At, T NewVal)
{
fArray[At] = NewVal;
return fArray[At];