indentlog: refactor: with_color() uses color_spec

This commit is contained in:
Roland Conybeare 2023-09-18 12:34:17 -04:00
commit a9777a7ddf
5 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ namespace xo {
void print_code_location(std::ostream & os) const {
os << "["
<< with_color(encoding_, color_, basename(file_))
<< with_color(color_spec(encoding_, color_), basename(file_))
<< ":"
<< line_
<< "]";