Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-chernenko committed Nov 9, 2021
1 parent 8362802 commit da97af8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/concol.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ class color final : public detail::color_base {
color operator+(const char);

friend color operator+(color_type lhs, const color& rhs) {
color tmp{rhs};
tmp._string += detail::color_tags::values[int(lhs)];
color tmp{detail::color_tags::values[int(lhs)]};
tmp += rhs;
return tmp;
}
friend color operator+(color_ctrl lhs, const color& rhs) {
color tmp{rhs};
tmp._string += detail::color_tags::values[int(lhs)];
color tmp{detail::color_tags::values[int(lhs)]};
tmp += rhs;
return tmp;
}
friend color operator+(const std::string& lhs, const color& rhs) {
Expand Down

0 comments on commit da97af8

Please sign in to comment.