From ce259549bab8b0be5b91875137f25bf75e46e3a0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 1 Sep 2026 12:42:01 +0000 Subject: fix --- include/util/color.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/util') diff --git a/include/util/color.h b/include/util/color.h index 01711d6..707efb4 100644 --- a/include/util/color.h +++ b/include/util/color.h @@ -5,14 +5,14 @@ namespace ov4 { -std::string make_color(const std::string s, const std::string color); +std::string make_color(const std::string s, const std::string_view color); } namespace ov4::color { -const std::string +constexpr std::string_view black = "30", red = "31", green = "32", @@ -22,7 +22,7 @@ const std::string cyan = "36", white = "37"; -const std::string +constexpr std::string_view bright_black = "90", bright_red = "91", bright_green = "92", -- cgit v1.3.1-4-g156e