Remove static assert message in core::path constructor
This commit is contained in:
parent
298c7bfe94
commit
125dcc4cdf
|
@ -22,7 +22,7 @@ export namespace core {
|
||||||
}
|
}
|
||||||
|
|
||||||
template<usize text_size> constexpr path(char const(&text)[text_size]) : path{} {
|
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];
|
for (usize i = 0; i < text_size; i += 1) this->buffer[i] = text[i];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue