C++20 Port #5

Merged
kayomn merged 35 commits from cpp-port into main 2023-02-20 02:33:45 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 298c7bfe94 - Show all commits

View File

@ -480,7 +480,7 @@ export namespace core {
void copy(slice<u8> const & target, slice<u8 const> const & origin) { void copy(slice<u8> const & target, slice<u8 const> const & origin) {
if (target.length < origin.length) core::unreachable(); if (target.length < origin.length) core::unreachable();
for (usize i = 0; i < target.length; i += 1) target[i] = origin[i]; for (usize i = 0; i < origin.length; i += 1) target[i] = origin[i];
} }
/** /**