diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-01 12:42:01 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-01 12:42:01 +0000 |
| commit | ce259549bab8b0be5b91875137f25bf75e46e3a0 (patch) | |
| tree | f39d4f12a7f2548e809afae04177001c18882839 /include/util | |
| parent | 20f554748ebbc80406f9a37800559089d3e80e2b (diff) | |
fix
Diffstat (limited to 'include/util')
| -rw-r--r-- | include/util/color.h | 6 |
1 files changed, 3 insertions, 3 deletions
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", |
