diff options
Diffstat (limited to 'include')
| -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", |
