diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:34:03 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:34:03 +0100 |
| commit | 81c082643568ef4507c92c6f8c4d7f2778274aa6 (patch) | |
| tree | 42f0d34b2535540074eb0766cbb71be93ed648f6 /include/GenericsLibrary/algorithm.nhh | |
| parent | fe99a16c6d125186a08ce8a45b74684df24692f5 (diff) | |
[FEAT] Fix GenericsLibrary implementation for Nectar.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/GenericsLibrary/algorithm.nhh')
| -rw-r--r-- | include/GenericsLibrary/algorithm.nhh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/GenericsLibrary/algorithm.nhh b/include/GenericsLibrary/algorithm.nhh index 1dd1e0c..e339ba1 100644 --- a/include/GenericsLibrary/algorithm.nhh +++ b/include/GenericsLibrary/algorithm.nhh @@ -11,7 +11,7 @@ let for_each(let it, let action) { - for (let i := it.begin(); i != it.end(); i += 1) + for (let i := it.begin(); i !== it.end(); i += 1) { action(i); } @@ -21,7 +21,7 @@ let for_each(let it, let action) let find(let it, let predicate) { - for (let i := it.begin(); i != it.end(); i += 1) + for (let i := it.begin(); i !== it.end(); i += 1) { if (predicate(i)) { @@ -34,7 +34,7 @@ let find(let it, let predicate) let remove(let it, let pred) { - for (let i = it.begin(); i != it.end(); ++i) + for (let i = it.begin(); i !== it.end(); ++i) { if (pred(i)) { |
