indentlog: refactor: color_spec -> color_spec_type
This commit is contained in:
parent
30753c76af
commit
346eef69a4
7 changed files with 53 additions and 53 deletions
|
|
@ -19,7 +19,7 @@ namespace xo {
|
|||
public:
|
||||
code_location_impl(std::string_view file,
|
||||
std::uint32_t line,
|
||||
color_spec colorspec)
|
||||
color_spec_type colorspec)
|
||||
: file_{file}, line_{line}, color_spec_{colorspec} {}
|
||||
|
||||
void print_code_location(std::ostream & os) const {
|
||||
|
|
@ -36,7 +36,7 @@ namespace xo {
|
|||
/* __LINE__ */
|
||||
std::uint32_t line_ = 0;
|
||||
/* color encoding for [file:line] */
|
||||
color_spec color_spec_;
|
||||
color_spec_type color_spec_;
|
||||
}; /*code_location_impl*/
|
||||
|
||||
using code_location = code_location_impl<class code_location_impl_tag>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue