diff --git a/source/core/files.cpp b/source/core/files.cpp index b159f02..b244e19 100644 --- a/source/core/files.cpp +++ b/source/core/files.cpp @@ -22,7 +22,7 @@ export namespace core { } template 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];