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 125dcc4cdf - Show all commits

View File

@ -22,7 +22,7 @@ export namespace core {
}
template<usize text_size> constexpr path(char const(&text)[text_size]) : path{} {
static_assert(text_size <= max, "path cannot be longer than maximum length");
static_assert(text_size <= max);
for (usize i = 0; i < text_size; i += 1) this->buffer[i] = text[i];