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 /src/util | |
| parent | 20f554748ebbc80406f9a37800559089d3e80e2b (diff) | |
fix
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/color.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/color.cc b/src/util/color.cc index 87fd346..2721f38 100644 --- a/src/util/color.cc +++ b/src/util/color.cc @@ -9,9 +9,9 @@ using namespace std; namespace ov4 { -string make_color(const string s, const string color) +string make_color(const string s, const string_view color) { - return "\e[0;" + color + "m" + s + "\e[0m"; + return "\e[0;" + (string)color + "m" + s + "\e[0m"; } } |
