Remove static assert message in core::path constructor

This commit is contained in:
kayomn 2023-02-19 16:41:22 +00:00
parent 298c7bfe94
commit 125dcc4cdf
1 changed files with 1 additions and 1 deletions

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];