From 125dcc4cdfa7c7e83d564be25300525ec483ba21 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sun, 19 Feb 2023 16:41:22 +0000 Subject: [PATCH] Remove static assert message in core::path constructor --- source/core/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];